A simple implementation of https://github.com/xpeppers/goose-game-kata in Java.
Java 1.8 and maven 3.6.
- Clone this repository with git
git cloneor download it. - From inside the repository's directory, run
mvn clean packageto test and produce a jar. - Run
java -cp .\target\goosegame-1.0-SNAPSHOT.jar com.zampa.goosegame.Mainto start the game.
add <PlayerName>- adds <Playername> if not already in game.move <PlayerName>- Automatically roll dice and move.move <PlayerName> <die>, <die>- If you prefer manually rolling dice.exit- Terminate the game.