Skip to content

alexcarrega/node-goose-game

Repository files navigation

GooseGame

Node.js implementation of the Goose Game Kata.

Description

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

Read more

Requirements

  1. Node.js (follows the instructions at https://nodejs.org/en/download).

Installation

  1. Clone the repository and enter to the created directory (default name: node-goose-game)

Linux

for@bar:~$ git clone https://github.com/alexcarrega/node-goose-game.git
for@bar:~$ cd node-goose-game

Windows

c:\foo\bar> git clone https://github.com/alexcarrega/node-goose-game.git
c:\foo\bar> cd node-goose-game
  1. Execute

Linux

for@bar:~\node-goose-game$ npm install

Windows

c:\foo\bar\node-goose-game> npm install

Usage

Linux

  1. Make sure if the file goose-game.sh is executable.

  2. If not digit

for@bar:~\node-goose-game$ chmod +x ./goose-game.sh
  1. Execute

Linux

for@bar:~\node-goose-game$ ./goose-game.sh

Windows

c:\for\bar\node-goose-game> goose-game

All Platforms

Digit help for available commands

About

Node.js implementation of the Goose Game Kata

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published