nyuszika7h b968f83e8b Optimize var.get_role
It will now return as soon as it finds the role for the player,
instead of calling var.list_players_and_roles every single time.
I haven't tested in a real-world scenario, but in a test game
with 10000 players (don't ask), the speed improvement is very clear
(~1-2s per player when sending out nighttime PMs instead of ~10s).
2015-06-30 20:39:55 +02:00
2015-06-30 20:39:55 +02:00
2015-03-08 21:40:34 +01:00
2015-06-13 17:25:23 +02:00
2015-05-24 00:32:02 +02:00
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.

Description
No description provided
Readme 8 MiB