The goal of this repository is to have a very fast setup for a RoboCode hacking challenge in Intellij.
-
Check out the repository
-
Make sure, that the Project SDK is configured correctly:
The code was tested with Java 8.
-
Start "Robocode" from the run configurations.
-
Go to
Options > Preferences > Development Options
Here please make sure that you selected the right folders. Usually you have to remove both dependencies and then re-add them to the following relative project paths:
./dist/robots ./out/production/RoboCodeChallenge
-
Restart Robocode from IntelliJ
-
You are now ready to get started!
- Official side with further Reading https://robocode.sourceforge.io
- Documentation https://robocode.sourceforge.io/docs/robocode/
- Remove the
dist
folderrm -rf ./dist
- Run the setup script:
java -jar setup/robocode-1.9.3.3-setup.jar
- Specify the output folder relative to this project to
./dist