Go to file
skizzerz 80f5f7d4e8 Separate bite from kill for alpha wolf.
Alpha now can choose to either bite or kill, but not both. If other
wolves are alive, they can still kill as normal allowing both to happen
that night. Additional interactions were added to deal with visiting
harlots and to not accidentally kill bodyguards/GAs in the event that
they are bitten and would die from wolves (if
BODYGUARD/GUARDIAN_ANGEL_DIES_AT_NIGHT_CHANCE is set).

Things to consider for the future but didn't have time to do yet:
- Should we play a message in channel if alpha wolf successfully bites
  someone at night?
- Avoid killing a bodyguard/GA if Fallen Angel is in play and said
  bodyguard/GA was bitten that night.
- Should wolves avoid automatically killing people bitten on previous
  nights (e.g. a bitten harlot wouldn't get nommed visiting wolves or
  victims, bitten bodyguards/GAs wouldn't die from fallen angel, etc.)?
2015-07-26 23:29:40 -05:00
oyoyo Fix capability negotiation to be more sane (and IRCv3.2-compliant) 2015-06-15 20:20:28 +02:00
src Separate bite from kill for alpha wolf. 2015-07-26 23:29:40 -05:00
.gitignore Add a proper logging feature. Closes #72. 2015-01-13 19:58:55 -05:00
.mailmap Fix @skizzerz's entry in .mailmap 2015-03-08 21:40:34 +01:00
botconfig.py.example Clean up botconfig.py.example 2015-07-19 21:22:37 +02:00
CONTRIBUTING.md Rename .markdown files back to .md 2015-05-24 00:30:54 +02:00
LICENSE Convert Windows line endings to Unix 2013-09-04 11:56:00 +02:00
README.md Update README.md 2015-05-24 00:32:02 +02:00
wolfbot.py Fix imports 2015-06-15 17:36:46 +02:00

This is the Werewolf game bot for ##werewolf on freenode. It's a fork of lycanthrope, which was the last bot used in #wolfgame before it died.

We have an active community, and we'd love for you to join us!

Running your own copy

You need Python 3.2 or newer to run the bot.

Copy botconfig.py.example to botconfig.py and modify the settings as needed. You can also copy-paste individual settings from src/settings.py into botconfig.py if you want to modify them.

To start the bot, run ./wolfbot.py. You can use --verbose to log all raw IRC messages and --debug to enable some debugging features. These options should not be used in production.