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

inf112-v20/weirdsixters

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RoboRally

Running the game from IntelliJ

  1. Clone repository and open it in IntelliJ.
  2. Make sure you have Maven installed and enabled in IntelliJ.
  3. Make sure you use a configuration with Java 8.
  4. Run Main.

Known bugs

  • Currently throws "WARNING: An illegal reflective access operation has occurred", when the java version used is >8. This has no effect on Windows machines, but you may have to use Java 8 on Linux.
  • Winning/losing may not reset the game properly. If you want to play to consecutive games, we suggest you close the window and start again.

Testing

There are three different methods of testing used in this project: Manual tests, unit tests and assertions.

Unit tests are located in src/test.

Manual tests are documented in ManualTests.md.

Runtime assertions can be enabled with the Java VM flag "-ea".

Controls

  • WASD: Manual movement card injection (for debugging).
  • 1-9: Stage cards.
  • Shift + 1-5: Unstage cards.
  • Return: Commit cards or power down when register is empty.

Compatibility

The game has been tested on Windows and Linux, it should also run on MAC as Java runs on all platforms. As of now we do not have access to a Mac so we cannot test the game on a Mac.