Skip to content

0.30.2

Compare
Choose a tag to compare
@flemming-n-larsen flemming-n-larsen released this 02 Jun 19:47
· 128 commits to main since this release
e8f0f84

๐Ÿ“ฆ 0.30.2 - GUI auto-scales the Battle View - 02-Jun-2025

๐Ÿš€ Improvements

  • GUI:
    • The GUI now automatically scales the battle view when itโ€™s first displayed and adjusts it dynamically as the window is resized.
    • Thanks to Jan Durovec for this nice improvement. โค๏ธ

๐Ÿž Bug Fixes

  • Server:
    • #132: Fixed several race conditions and synchronization issues on the server side.
  • BotAPI / Sample Bots:
    • Fixed issue where the Fire sample bot did not lock the radar on its target.
  • Sample Bots:
    • The Fire and MyFirstBot sample bot did not turn perpendicular to the bullet direction anymore, and the RamFire did not drive directly towards its target.
  • Documentation:
    • #136: The turn timeout and ready timeout were incorrectly specified in milliseconds instead of microseconds. 1 millisecond = 1/1,000 of a second, where 1 microsecond = 1/1,000,000 of a second

๐Ÿ“„ 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 Application which is a Java application. You can read 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.30.2.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
C# sample-bots-csharp-0.30.2.zip Microsoft .Net SDK 6.0 or newer
Java sample-bots-java-0.30.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:

๐Ÿ“ฆ .Net:

Available as: