Node.js implementation of the Goose Game Kata.
Goose game is a game where two or more players move pieces around a track by rolling a die. The aim of the game is to reach square number sixty-three before any of the other players and avoid obstacles (wikipedia).
- Node.js (follows the instructions at https://nodejs.org/en/download).
- Clone the repository and enter to the created directory (default name: node-goose-game)
for@bar:~$ git clone https://github.com/alexcarrega/node-goose-game.git
for@bar:~$ cd node-goose-game
c:\foo\bar> git clone https://github.com/alexcarrega/node-goose-game.git
c:\foo\bar> cd node-goose-game
- Execute
for@bar:~\node-goose-game$ npm install
c:\foo\bar\node-goose-game> npm install
-
Make sure if the file goose-game.sh is executable.
-
If not digit
for@bar:~\node-goose-game$ chmod +x ./goose-game.sh
- Execute
for@bar:~\node-goose-game$ ./goose-game.sh
c:\for\bar\node-goose-game> goose-game
Digit help for available commands