Basic implementation of the Hanabi game (check rules here (French)).
Clone the git repository or download and unpack it:
git clone https://github.com/Si0uL/Hanabi.git
Install dependencies using npm:
npm install
Install bower if you don't have it already:
npm install -g bower
Use it to install the front-end dependencies:
cd views
bower install
Create an empty games/ repository that will contain the games replays.
Create a /data/passwords.json file constaining the passwords associated to players (the Object's keys).
npm start [game-easy/game/game-hard] port player1 player2 [player3, player4, player5]
You can choose to play a specific game by adding its hash as follow (not compatible without multicolor cards):
npm start [game/game-hard] port h HASHNUMBER player1 player2 [player3, player4, player5]
Every turn, your game history will be saved in a file located in /games/
Use node replayer.js ip port filepath to launch replayer on a file (any registred player can log in).