Simple implementation of the board game RoboRally.
The game requires Maven to build
Download: https://maven.apache.org/download.cgi
You will also need Java 13 to run
1. Clone the repository
https://github.com/inf112-v20/Robois.git
2. Build the game with dependencies
cd Robois
mvn clean verify assembly:single
3. Run game
java -jar target/mvn-app-1.0-SNAPSHOT-jar-with-dependencies.jar
1. Intall Java IDE (etc. vs code/IntelliJ IDEA)
2. Import the project from pom.xml
file using File>New>Project from Version Control...
3. Run the game with Main.java. Located in `main/java/inf112/skeleton/app
Select cards you want to execute by clicking on the cards with your mouse. You can return cards by clicking on a card you previously selected. Press on the blue arrow to confirm selection and start a game round.
Important!: Before test controls can be used you have to set
26 | private final boolean debugging = true;In the class
src/main/java/inf112.skeleton.app/Game.java
- Forward: W
- Backward: S
- Turn right: D
- Turn left: A
- Run phase: Space
- Refresh cards: O
Currently throws "WARNING: An illegal reflective access operation has occurred", when the java version used is >8. This has no effect on function or performance, and is just a warning.