0.34.1
π¦ 0.34.1 - Fixes on_death in Python Bot API and GUI improvements β 14-Nov-2025
π Improvements
-
GUI
- #174: Prevent overwriting UI scale property (
sun.java2d.uiScale) for high DPI displays if already set (via
command line). Thanks goes to David Martinez PeΓ±a π- Fixed for the
sun.java2d.d3dandsun.java2d.openglas well.
- Fixed for the
- #174: Prevent overwriting UI scale property (
-
Updated the devcontainer so it uses the current and full tech stack necessary to build all of Robocode Tank Royale.
π Bug Fixes
- Bot API for Python:
- The on_death() event handler is now called when the bot dies.
π Documentation
You find the Robocode Tank Royale documentation here. You
should start out by reading Getting Started first.
π¨ Try it out
Please head over to My First Bot tutorial to learn how to set up your first bot for Robocode Tank Royale.
π Installing 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.
βΆ Running Robocode
The main application is the GUI which is a Java application. You can read about how to use the
GUI here.
The Robocode GUI is run from the command line (shell or command prompt) in order to start and view
battles:
java -jar robocode-tankroyale-gui-0.34.1.jarπ€ Sample bots
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
These sample bots are currently available:
| Platform | Archive | Requirements |
|---|---|---|
| Python | sample-bots-python-0.34.1.zip | Python 3.10 or newer |
| C# | sample-bots-csharp-0.34.1.zip | Microsoft .NET SDK 8 or newer |
| Java | sample-bots-java-0.34.1.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.
π¦ Python:
Available as:
- Python package at the Python Package Index (PyPI)
π¦ Java:
Available as:
- Jar file: robocode-tankroyale-bot-api-0.34.1.jar
- Maven package at
the Maven Central Repository
π¦ .NET:
Available as:
- NuGet package at the NuGet repository