*cool kids fork
hubot cah restart
to begin a new game. (note: this overwrites any games in progress)
Players add themselves to the game at any time by typing cah join
. The first person to register automatically becomes the initial dealer, at which point the first Black Card should be presented.
Each round:
Players can see their hand of 7 White Cards by typing cah hand
. It is recommended to do this in a private message with Hubot so other players can't see each others' hands. Once a player has selected a card (or optionally two cards depending on the current Black Card), they can submit it using cah play # #
.
When all players have submitted cards or 120 seconds have passed since the round began, the game will no longer accept submissions, and will switch to the dealer choice phase. The czar can type cah answers
to view all of the available choices, then select one by typing cah choose #
.
The round then ends. The player whose submission was chosen earns a point, and becomes the new czar for the next round.
Add the package hubot-cah
as a dependency in your Hubot package.json file. Then add hubot-cah
to the list in the external-scripts.json
file.
Card dictionary taken from hubot-humanity