Skip to content

sharafian/cards-against-humanity

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cards Against Humanity, IRC Version

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.

Commands:

  • cab prepare - sets the bot to 'join' mode, where players can join
  • cab 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.

Installation Instructions:

  1. Download and install Python 2.7.8:
  2. Run the CardGame executable file:
    • "CardGame.bat" on Windows
    • "CardGame.sh" on Unix (Mac, Linux, etc.)

Hackergen Support:

  1. Clone Hacker Phrase Gen:
  2. 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

About

An extensible cards against humanity game engine.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 98.8%
  • Other 1.2%