Giter Site home page Giter Site logo

venefyxatu / phennyfyxata Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 167 KB

Phenny module and django backend app for NaNoWriMo word wars.

Home Page: http://phenny.venefyxatu.be

License: BSD 2-Clause "Simplified" License

Python 90.75% CSS 1.40% HTML 7.77% Shell 0.08%

phennyfyxata's People

Contributors

lambik avatar venefyxatu avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

phennyfyxata's Issues

War participation

If you tell Phenny you're joining a war, have her PM you when it's done.

DING

Duplicate wars are possible

When creating a new war with a start/endtime combination that already exists, use the existing one instead.

Wars inplannen op tijden in het verleden

Hey Vene, weet niet of je dit nog leest.

Op dit moment hebben we in de chat meerdere keren het probleem dat iemand een war inplant terwijl zijn/haar klok niet goed loopt, of een typfout maakt, en daardoor de war wordt ingepland voor 15:00 terwijl het 15:02 is. Dan worde de war de volgende dag op 15:00 gestart en staat hij er de hele dag in.

Lijkt me dat dat niet super ingewikkeld is om als check in te bouwen?

Secundair: Een war niet laten gebeuren als geen van de .participate mensen online is.

Adding score to an old war -- warning

When someone submits a score to war older than let's say two days, the bot should warn the person that they probably made a typo. Submitting the score will only work when they use ".score oldwarid score YES" or some other keyword.

Wordcount

  • How much to go, basic stats
  • Retrieve from nano site based on chat nick?

More tests

  • Multiple users participating: correct split
  • One user participating: correct non-split

Aliases for writers

Some people register with multiple nicks. Offer a way to join all these to the main nick.

Better error handling

When starting a war, if the participants list happens to be an error page, the entire error page is flagged for starting a war. Comma-separated, letter by letter.
Catch these errors and let Phenny log them somewhere instead of smearing them out over a billion lines of chat messages.

Secondary score: based on own typing speed

Calculate average typing speed based on previous wars, then compare with this war: how much faster / slower were you.

14:30 |@jarsto > dus je hebt een gemiddelde (G) en dan is je handicap score: (woorden/minuten)/G * 100
14:30 |@jarsto > dus hoeveel % van je gemiddelde tempo heb je gehaald
14:30 |@jarsto > alleen moet er wel een manier zijn om rare dingen, zoals die 24 uur war van cirrus uit de gemiddelden te filteren
[...]
14:36 |@jarsto > maar mooiste zou zijn om de hoogste en laagste scores een beetje weg te laten, zodat mensen niet door 1 war de hele tijd boven of onder gemiddeld blijven de rest van de maand
[...]
14:46 |@jarsto > Ik zou dan met 675 in 15 minuten 90% scoren (ongeveer) terwijl iemand die normaal 300 doet maar nu 400 met 130% in de tweede kolom dus wel van mij wint

Invalid input

.war 9:45 09:66
09:38 |@Phennyfyxata > ValueError: unconverted data remains: 6 (file "/usr/lib/python2.7/_strptime.py", line 328, in _strptime)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.