0.19.2
π¦ 0.19.2 - Added bot properties tab - 05-Apr-2023
π Improvements
- GUI:
- A new Properties tab was added to the bot console, which shows the values of all bot properties for the current turn. This is useful for viewing the exact values and for debugging a bot.
- When displaying an arena bigger than the window showing the battle, the window is now zooming into the battle arena automatically so that the visual field fits into the window.
πͺ² Bug Fixes
- GUI:
- When changing the game type for a battle, the arena did not change visually to accommodate a new size of the battle arena.
- Server:
- [#66]: The server is not accepting the full range of ports.
π Documentation
You can read the Robocode Tank Royale documentation here.
π¨ Try it out
Please head over to My First Bot tutorial to learn how to set up your first bot for Robocode Tank Royale.
βΆ Running Robocode
You need Java 11 as a minimum or newer, e.g. the newest version of Java available.
You can read the installation guide to get more details about installing both Java and Robocode.
The main application is the GUI Application, which is a Java application.
You can read more about how to use the GUI Application here.
The Robocode GUI application is run from the command line (shell or command prompt) in order to start and view
battles:
java -jar robocode-tankroyale-gui-0.19.2.jar
If you are new to Robocode, you need to download some bots and extract those to directories on your system.
These bot directories can be added from the menu of the GUI: Config β Bot Root Directories
π€ Sample bots
These sample bots are currently available:
Platform | Archive | Requirements |
---|---|---|
C# | sample-bots-csharp-0.19.2.zip | Microsoft .Net SDK 5.0 or newer |
Java | sample-bots-java-0.19.2.zip | Any Java SDK 11 or newer |
All bots are put in zip archives, which should be installed in independent directories.
Each zip archive contains a ReadMe.md file with more information for the specific platform.
π¦ Bot API
In order to start developing bots for Robocode, the following APIs are available.
π¦ Java:
Available as:
- Jar file: robocode-tankroyale-bot-api-0.19.2.jar
- Artifact at Nexus Repository
- Artifact at Maven Central Repository (available after some time)
π¦ .Net:
Available as:
- Artifact at Nuget repository