Matthias Meusburger
d0992312b8
Fix typo
2012-10-20 19:23:15 +02:00
Matthias Meusburger
800cad6b13
Fix autofriday
2012-10-20 19:21:08 +02:00
Matthias Meusburger
be0f1c629e
Remove useless code
...
Fix mergescores
2012-10-11 17:34:34 +02:00
Matthias Meusburger
34243cf810
Fix day and weeks bug
2012-10-11 13:58:09 +02:00
Matthias Meusburger
9341a0e34a
Adds reload time
2012-10-10 22:41:03 +02:00
Matthias Meusburger
f817f4b298
Fix fridaymode init
2012-10-05 18:09:58 +02:00
Matthias Meusburger
de566a0e18
Fix manualFriday init
2012-10-04 23:16:07 +02:00
Matthias Meusburger
f51e608033
Fix mix-up between automatic and manual FridayMode
2012-10-04 23:13:39 +02:00
Matthias Meusburger
db5c026027
Adds a probability to miss the duck
2012-09-22 12:14:02 +02:00
Matthias Meusburger
a8efe66830
Adds day scores merge to mergescores
2012-09-18 20:32:37 +02:00
Matthias Meusburger
b668a39827
Change message if the lead for the week has just been took
2012-09-18 20:17:57 +02:00
Matthias Meusburger
3a285da67d
Fix wrong week displayed in weekscores
2012-09-17 17:20:33 +02:00
Matthias Meusburger
3524d64bcc
Use year in weekscores filename
2012-09-16 14:51:23 +02:00
Matthias Meusburger
4a1f4c13ec
Tells if someone took the lead for the week at the end of a hunt
2012-09-16 14:13:46 +02:00
Matthias Meusburger
c6bea37018
Adds dayscore
...
Adds <nick> option to weekscores
Fix autoFriday
Removes average shooting time
2012-09-15 11:13:53 +02:00
Matthias Meusburger
25460a6aea
Adds week winner
2012-09-14 14:05:51 +02:00
Matthias Meusburger
84e6133d5f
Adds week scores
2012-09-14 10:35:28 +02:00
Matthias Meusburger
cc7af63b3d
No need to tell the score at the end of a hunt if it is a perfect.
2012-09-10 20:11:33 +02:00
Matthias Meusburger
a5b4d8d19b
Add some tests
...
Fix average time bug
Update docstrings
2012-09-09 19:50:04 +02:00
Matthias Meusburger
313da89242
Adds autoFriday channel value
2012-09-09 17:08:05 +02:00
Matthias Meusburger
0f51246f84
Adds friday mode
...
Improve kick message when kickmode is enabled
2012-09-07 16:38:58 +02:00
Matthias Meusburger
3e55af27ff
Average time fix
2012-09-06 18:28:29 +02:00
Matthias Meusburger
6a4606a279
Adds average shooting time for the current hunt
2012-09-06 18:03:46 +02:00
Matthias Meusburger
80a482bc83
Adds kickMode :)
2012-09-06 17:47:48 +02:00
Matthias Meusburger
5830c4007e
Use conf.supybot.directories.data to store scores and times
2012-09-05 13:20:22 +02:00
Matthias Meusburger
303fd221d8
Stop/start the scheduler before starting a hunt
...
Reset the basetime for the waiting time before the next duck
Adds the 'total' command
2012-09-04 17:30:01 +02:00
Matthias Meusburger
567c2a2a58
Adjusting default values for minthrottle and maxthrottle
...
Removing frequency, as it's kinda unneeded since scheduler is used
Updating documentation
2012-09-03 22:48:59 +02:00
Matthias Meusburger
942842d56e
Since frequency, minthrottle and maxthrottle are channel configuration variables, let's handle them this way!
2012-09-03 21:31:53 +02:00
Matthias Meusburger
c902f6c65e
Ending the hunt has to be done asap when the _end function is called
2012-09-03 20:53:43 +02:00
Matthias Meusburger
c32d16daf1
Uses an arbitrary 5 seconds delay between scheduler calls (instead of minthrottle)
2012-09-03 20:39:03 +02:00
Matthias Meusburger
1db3962c00
Uses supybot's scheduler instead of doPrivmsg.
...
This change was made in order to prevent the "The more people are talking in the channel, the more the bot launches ducks" behavior
2012-09-03 18:18:00 +02:00
Matthias Meusburger
fa2f3eef0f
Use supybot default success and error messages
2012-09-01 16:58:05 +02:00
Matthias Meusburger
bd790b0b42
Adds stringified display for longest times (instead of showing just seconds)
2012-08-30 18:31:55 +02:00
Matthias Meusburger
1a50a5bb8e
Adds the size parameter to the listscores and listtimes commands
2012-08-27 19:26:25 +02:00
Matthias Meusburger
203849a535
Fix longest time display bug at the end of a hunt
2012-08-27 18:12:40 +02:00
Matthias Meusburger
cc762f6132
Update docstrings and add generated documentation
2012-08-24 12:31:29 +02:00
Matthias Meusburger
61fd7f80bd
Change some display (be less verbose)
...
Shorten scores-list and times-lists to 5 elements
Sort scores of the hunt
2012-08-22 17:27:25 +02:00
Matthias Meusburger
0afd95324e
Adds worst times
...
Adds minthrottle and maxthrottle as channel values
Adds extra points for a perfect hunt (all ducks shot by the same player)
Prevent error when a hunt is stopped and no duck has been shot
2012-08-09 12:38:51 +02:00
Matthias Meusburger
86cd7aed8c
Use the 'admin' converter for the mergescores, mergetimes, rmscore and rmtime commands (instead of checking the capability in the code)
2012-07-21 15:07:43 +02:00
Matthias Meusburger
f016a3bc1b
Adds an optional channel parameter to the mergescores and mergetimes commands.
...
Also, use more precise wraps (channel and nick instead of anything)
2012-07-21 14:54:29 +02:00
Matthias Meusburger
43be7c99c2
Adds an optional <channel> parameter to rmtime, rmscore, listtimes and listscores
...
Separate scores calculation and writing (so that rmtime, rmscore, listtimes and listscores) are immedialely effective
2012-07-20 17:37:58 +02:00
Matthias Meusburger
b76251f1e9
Rename merge command to mergescores
...
Add mergetimes, rmscore and rmtime commands
2012-07-20 12:22:43 +02:00
Matthias Meusburger
64c5b0fd5f
Adds a lock when someone bangs, to prevent from lauching a duck at the same time
2012-07-20 12:20:14 +02:00
Matthias Meusburger
5e5049de50
Several modifications/improvements:
...
- Use threading
- Send the duck directly without queuing, so times are more accurate
- Adds comments
2012-07-19 17:31:30 +02:00
Matthias Meusburger
568678e253
First commit, the DuckHunt game for IRC
2012-07-17 20:59:22 +02:00