An extensible Cards Against Humanity game engine.
This fork is an IRC bot that allows a game to be run in an IRC channel. Only one person needs to run the bot, and the rest of the players can connect through the IRC server, controlling the game by private messaging commands to the bot.
In order to run the bot, CardGame.bat (Windows) or CardGame.sh (Mac/Linux) must be run with commandline arguments for the server ip, port, and channel name (including the #), in that order.
cab prepare
- sets the bot to 'join' mode, where players can joincab join
- joins the game, if the bot is in 'join' mode. If the bot is in 'play' or 'pick' mode, it resets the round and joins the game.cab start
- starts the game, if the game is in 'join' mode and at least 3 players have joined.cab play <number>
eg.cab play 5
- plays the card with the number<number>
. Note: after playing a card, your other cards' numbers may change.cab cards
- tells the bot to PM you your cards. Note: it will PM you your cards automatically at the start of each round.cab pick <beginning of card name>
eg.cab pick na
- for the card czar, when it's time to pick a card. Case insensitive.cab leave
- leaves the game, and skips the current round.cab abort
- ends the game.
- Download and install Python 2.7.8:
- Run the CardGame executable file:
- "CardGame.bat" on Windows
- "CardGame.sh" on Unix (Mac, Linux, etc.)
- Clone Hacker Phrase Gen:
- Copy the "hackergen" folder into the "resources" folder
- If there is no hackergen folder, copy all the contents of hacker-phrase-generator into "resources" directly