Skip to content

Si0uL/Hanabi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

112 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hanabi

Basic implementation of the Hanabi game (check rules here (French)).

Installation

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).

Use

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).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors