Cards for Humanity - http://arakari-staging.herokuapp.com/
Cards for Humanity is a fast-paced online version of the popular card game, Cards Against Humanity.
Cards for Humanity was originally created at Hack Reactor by:
This version of the game was built upon at Andela by Team Arakari consisting of:
The game is simple - each player is given 10 answer cards which are used to fill in the question card. For each round, one player is the "Card Czar". Their sole job is to select a submitted answer card that they think best fits the question. Whoever's card is selected wins a point for the round.
Cards Against Humanity is open-source and licensed under Creative Commons. The idea for Cards for Humanity was to create a web version of the game we love so much, while still doing something good for humanity. To achieve this we integrated the option to donate to the Make a Wish Foundation.
The app is completely functional across all devices. We used Socket.io to create rooms which hold up 11 players at a time, and also included the functionality to create private rooms once logged in. We also used Passport to handle authentication.
Cards for Humanity uses AngularJS and Sass on the front-end, with Node.js/Express.js, MongoDB and Socket.io on the back-end. This version is currently deployed to Heroku.
- Clone this repository:
- Using SSH:
[email protected]:andela/project-arakari.git
- Using HTTPS:
https://github.com/andela/project-arakari.git
- Using SSH:
- Navigate to the app directory
cd project-arakari
- Install dependencies:
npm install
- Create a
.env
file in the root directory and set the database eg.MONGOHQ_URL=mongodb://<dbuser>:<dbpassword>@ds139899.mlab.com:39899/wiki-example
- Ensure question/answer cards are correctly set up by following the instructions in the Project Wiki
- Run
gulp
in the terminal and play the game onhttp://localhost:3001