https://github.com/toniogela/goose-game-java
Goose Game solution that I had to do for a past interview
https://github.com/toniogela/goose-game-java
interview java
Last synced: 9 months ago
JSON representation
Goose Game solution that I had to do for a past interview
- Host: GitHub
- URL: https://github.com/toniogela/goose-game-java
- Owner: TonioGela
- License: mpl-2.0
- Created: 2021-05-23T14:51:26.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-23T14:51:41.000Z (about 5 years ago)
- Last Synced: 2025-08-28T17:07:01.930Z (10 months ago)
- Topics: interview, java
- Language: Java
- Homepage:
- Size: 80.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# The Goose Game
This project was developed as a response to an hiring interview.
This is an interactive console game whose aim is to move a player from the cell 1 to cell 63.
You can add a player typing `add [P/p]layer `
You can move an existing player typing `move ` or `move n,m` where `n` and `m` are the single dice throw results (obviously they have to be between 1 and 6)
During the path there are some bonus cells with a custom behaviour. Discover them!
You have the ability to prank other players: when you step in a cell populated by another player, that player will return to your previous cell.
Enjoy!

## Installing instuctions
The game requires `java 8+` and [maven](https://maven.apache.org/download.cgi) to be built and run.
Once pulled the project, move in the directory (it contains a `pom.xml` file) and run `mvn clean package -U`
Once compiled you'll find a file named `goosegame-0.0.1-SNAPSHOT-jar-with-dependencies.jar` in the newly created `target` folder.
Run the jar using `java -jar goosegame-0.0.1-SNAPSHOT-jar-with-dependencies.jar`