terrible - A Cards Against Humanity style game for a single room of users
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
client
decks/example
etc
server
.gitattributes
.gitignore
package.json
readme.md
server.js

readme.md

terrible

A Cards Against Humanity style game for a single room of users. The code's still pretty WIP.

Requirements

Runs on Node.js.

npm install express
npm install socket.io
npm install uuid

Setup

Create a prompts.json (these are the black cards in CAH, or the green ones in Apples to Apples) and responses.json (likewise, the white and red cards) in a subfolder of /decks based off the /decks/example files. These can be in the style of either of those games, or anything else that follows a prompt : response(s) format.

Once that's done, run node server.js deck[,deck2,deck3...] wildcardPercentage and open localhost:8080 in your web browser. Three or more players are required for a game.

Card JSON Structure

Prompts: text, subtext, extra responses

Responses: text, subtext

†How many extra responses are played to that prompt. So, a "Make a haiku: ____ / ____ / ____" prompt would need 2 extras.

Known Issues

  • connection loss handling is incomplete

Planned Features

  • a way to see round history

History

2018-08-24

  • added wildcard response card that lets players be creative (frequency is set when running the server)
  • significant refactoring (still WIP)

2015-02-05

  • added some animations and UI polish
  • added game state sync for new joiners
  • cards are now refunded if a round is terminated due to someone leaving

2014-11-11

  • now allow multiple decks to be loaded
  • autofocus on username entry field
  • fixed blank username bug
  • fixed bug in indices of cards

2014-09-16

  • earlier version