Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.

inf112-v20/Robois

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

INF112 Robois

Simple implementation of the board game RoboRally.

Build Status Codacy Badge

Project Setup

The game requires Maven to build

Download: https://maven.apache.org/download.cgi

You will also need Java 13 to run

Linux/Mac

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

Windows

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

How to Play

Gameplay

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.

Test Controls

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

Movement

  • Forward: W
  • Backward: S
  • Turn right: D
  • Turn left: A

Gameboard

  • Run phase: Space
  • Refresh cards: O

Known bugs

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.