Python 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).
- Python (version >= 3.6) (follows the instructions at https://www.python.org/downloads).
- Clone the repository and enter to the created directory (default name: python-goose-game)
for@bar:~$ git clone https://github.com/alexcarrega/python-goose-game.git
for@bar:~$ cd python-goose-game
c:\foo\bar> git clone https://github.com/alexcarrega/python-goose-game.git
c:\foo\bar> cd python-goose-game
- Execute
for@bar:~\python-goose-game$ pip3 install cmd2 colorful
c:\foo\bar\python-goose-game> pip3 install cmd2 colorful
-
Make sure if the file goose-game.sh is executable.
-
If not digit
for@bar:~\python-goose-game$ chmod +x ./goose-game.sh
- Execute
for@bar:~\python-goose-game$ ./goose-game.sh
c:\for\bar\python-goose-game> goose-game
Digit help for available commands