Yizhe Shen
cbae0291f8
Added game stats to database and "gamestats" command.
...
Added a game stats table to game DB to store wolf/village wins for
each game size. Added "gamestats" command to display stored stats.
2014-02-10 19:01:07 -05:00
Yizhe Shen
1994e7330f
Added commands to access player stats.
...
Loosely based on code from jcao219. New commands are "player", "p", "mystats", "me". The commands access existing stats stored in the game database (data.sqlite3).
2014-02-10 19:01:06 -05:00
Yizhe Shen
2b57abc1fb
Added an option for hidden traitor.
...
Added the option in ./modules/wolfgame.py. When activated, if traitor dies before turning, he will only be revealed as a villager.
Also, when "stats" command is used, traitor will be counted as a villager. By default, it is set to True.
2014-02-09 14:17:01 -05:00
nyuszika7h
2ac60b47fb
Fix previous commit.
2014-02-09 12:24:57 +01:00
nyuszika7h
a406485319
Prevent detective from IDing themselves. Closes #18 .
2014-02-09 11:33:45 +01:00
jacob1
193387bb0f
Shooting a werecrow tells you it was one.
...
Also some other small changes.
2014-02-07 23:57:57 -05:00
nyuszika7h
781317785d
Merge branch 'master' of git://github.com/xnrand/seerwolf
2014-02-01 19:36:19 +01:00
nyuszika7h
6e2d7f3d49
Slightly change message when last player leaves
2014-02-01 19:36:00 +01:00
xnrand
92cd0f5f34
implement extra wait time for !join
...
i.e. it makes sure that there are at least X seconds of wait time left after a !join.
Feb01[18:03:40] +Zazie_Lavender | I think there should be an enforced 10 to 20 second wait after last !join
2014-02-01 19:30:50 +01:00
nyuszika7h
769d9d12dc
Merge pull request #14 from jacob1/master
...
Fix bug where game might end early when multiple people are killed at night
2014-01-03 03:39:41 -08:00
jacob1
4c213e077b
Fix bug where game might end early when multiple people are killed at night
2014-01-02 19:18:16 -05:00
xnrand
113064ac45
new image
2013-12-22 01:38:28 +01:00
nyuszika7h
ca1a864364
Fix fatal typo in settings/wolfgame.py
2013-11-13 20:02:55 +01:00
nyuszika7h
d78d4c877e
Fix player limit, now is actually 21
2013-11-13 20:02:21 +01:00
nyuszika7h
9d1e0334f3
Update !rules
2013-11-11 20:25:38 +01:00
nyuszika7h
77be645d9c
Limit wolf gunner to 1 bullet
...
It's sometimes too easy to win for wolves, even with 2 bullets.
2013-11-10 22:20:24 +01:00
nyuszika7h
5961b2b4c7
Actually add wolf #4 at 20
2013-11-10 22:10:32 +01:00
nyuszika7h
29f210b394
Fix !pony working when you're not playing
2013-11-10 22:03:49 +01:00
nyuszika7h
1f1af21401
Reduce player limit to 21
...
Move wolf #4 to 20
Add cursed #2 to 18
2013-11-10 21:54:59 +01:00
nyuszika7h
8685f6aa1f
Merge branch 'master' of github.com:nyuszika7h/seerwolf
2013-11-10 21:53:11 +01:00
nyuszika7h
734d917c3e
Increase player limit to 22
...
Add wolf #4 to 22
2013-11-10 21:51:35 +01:00
nyuszika7h
e096e684b5
Merge pull request #9 from xnrand/master
...
Picture announcing improvements
2013-11-10 11:12:50 -08:00
xnrand
f95abc7303
Improvements to the random pictures announcing on kill
...
Added a new picture, you will like this one.
Changed that one .jpg URL that actually pointed to a .gif file to .jpg.
Changed picking algorithm to have fixed chances even when adding new pictures. Uses random.choice().
We don't want to have these pictures quite as often. We once had a 1/100 chance. To balance things out a bit, a 1/50 chance should do.
2013-11-10 20:09:08 +01:00
xnrand
2cf79ee022
Merge pull request #1 from nyuszika7h/master
...
Merged new commits
2013-11-10 10:50:26 -08:00
nyuszika7h
0028b15669
Merge pull request #8 from sharkk/patch-5
...
add three more pictures
2013-11-10 10:47:03 -08:00
Kyle Fahringer
d34207dc67
add three more pictures
...
wolfbot needs more gif
2013-11-10 13:46:06 -05:00
nyuszika7h
da0681b90d
Show admins which are !away in !admins
2013-11-06 22:39:32 +01:00
nyuszika7h
f164c51de0
Remove useless horizontal line from README.rst
2013-11-03 12:10:24 +01:00
nyuszika7h
8a177d1df1
Fix typo in README.rst
2013-11-03 12:09:24 +01:00
xnrand
9765c276c6
Fix fatal typo
2013-11-03 11:52:14 +01:00
nyuszika7h
0f17ca6637
Fix .gitignore
2013-11-03 11:37:57 +01:00
xnrand
edefe70947
Fix port in IRC URL
2013-11-03 11:33:27 +01:00
xnrand
5ea02c96b5
Merge readme changes from branch readme-rst
2013-11-03 11:32:59 +01:00
nyuszika7h
4987b4cfe2
Increase rate limit for !stats and !votes to 1 minute
2013-11-02 15:48:35 +01:00
nyuszika7h
180d36851e
Allow using !stats in PM
2013-10-16 22:34:28 +02:00
nyuszika7h
dcb7016b2f
Prevent seer from seeing themselves
2013-10-01 22:21:50 +02:00
nyuszika7h
bf504d6645
Merge branch 'update-gitignore'
2013-09-20 15:48:14 +02:00
nyuszika7h
7ac3189c58
Fix ignoring of vim swap files
2013-09-20 15:48:03 +02:00
nyuszika7h
ab2048d5ef
Merge branch 'fix-werecrow'
2013-09-18 20:20:49 +02:00
nyuszika7h
55cc34df3f
Fix werecrow dying when wolf is shot dead at night
...
Previously, if a wolf was shot dead at night, any werecrows that have
observed were removed from the game without announcement, although they
would remain voiced.
For those who are curious, this is because lists are copied by reference
on assignment in Python; any changes made on the variable you assigned
the list to will be reflected in the original list. This can be avoided
by making a shallow copy of the list using `list(x)` or `x[:]`.
2013-09-18 20:14:52 +02:00
nyuszika7h
07ecfd1f88
Fix README.rst
2013-09-17 19:26:21 +02:00
nyuszika7h
053edf3bf3
Fix README.rst
2013-09-17 19:26:06 +02:00
nyuszika7h
b329fb823e
Fix flashback dog
2013-09-13 15:32:37 +02:00
nyuszika7h
6117444de8
Merge branch 'fix-wolfrelay-actions'
2013-09-12 16:37:17 +02:00
nyuszika7h
ff0078e9ec
Bold nick for actions in wolf relay
...
Without this fix, a wolf team member could '/nick Someone' and leave a
fake detective paper, which is indistinguishable from a real one.
2013-09-12 16:36:24 +02:00
nyuszika7h
845150b119
Fix line endings in README.rst
...
Apparently sharkk's last pull request changed the line endings to CRLF.
>_>
2013-09-11 18:09:34 +02:00
nyuszika7h
b281f7beb2
Merge pull request #2 from sharkk/patch-2
...
Update README.rst
2013-09-11 09:07:01 -07:00
aLaserShark
44da66a50e
super secure flashback dog
2013-09-11 10:18:58 -04:00
aLaserShark
3566dd5886
import random
2013-09-11 10:13:19 -04:00
aLaserShark
3066870932
pointless flashback dog
...
http://i.imgur.com/nO8rZ.gif
has a 1/100 chance of appearing every time someone is killed
2013-09-11 10:11:28 -04:00