Added grand total to the output of "gamestats" command when no size is
given. Changed camel case to '_' for a couple of variables. Added
identification check for "player" command.
Updated game text for stats commands. Fixed error with "mystats" help
string. Added additional check in player stats commands to find the
associated account before attempting to retrieve 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).
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.
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
Per discussion in #wolfgame-dev, this commit changes the playercounts at
which drunk, traitor, and wolf2 are introduced. It removes drunk from 6p
and 7p games (moving it from 6 to 8), adds traitor to 8p and 9p games
(moving it from 10 to 8), and removes wolf2 from 8p and 9p games (moving
it from 8 to 10).
Or, in other words, it moves drunk later and switches traitor and wolf2.
Statistics on the effect of these two changes can be measured
independently, because they affect different ranges of games.
If this commit causes gameplay or other issues, feel free to revert it.
This has been the effective default in #wolfgame for a few days, and
the channel seems to have had few complaints about it and a few
positive comments, so I'm switching it to default. Seconded by dwfreed.