Scala 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).
- Scala (follows the instructions at https://www.scala-lang.org/download).
- sbt (follows the instructions at https://www.scala-sbt.org/download.html).
- Clone the repository and enter to the created directory (default name: scala-goose-game)
for@bar:~$ git clone https://github.com/alexcarrega/scala-goose-game.git
for@bar:~$ cd scala-goose-game
c:\foo\bar> git clone https://github.com/alexcarrega/scala-goose-game.git
c:\foo\bar> cd scala-goose-game
- Execute
for@bar:~\scala-goose-game$ sbt compile
c:\foo\bar\scala-goose-game> sbt compile
-
Make sure if the file goose-game.sh is executable.
-
If not digit
for@bar:~\scala-goose-game$ chmod +x ./goose-game.sh
- Execute
for@bar:~\scala-goose-game$ ./goose-game.sh
c:\for\bar\scala-goose-game> goose-game
Digit help for available commands