Skip to content

0.13.1

Compare
Choose a tag to compare
@flemming-n-larsen flemming-n-larsen released this 18 May 16:25

0.13.1 - Fixing event queue + country codes

Bugfixes

  • Bot APIs:
    • Fixed issue with turning the body, gun, and radar as first and only
      thing (#23).
    • Fixed issue with rescanning and interrupting current event handler. Redesigned the event queue.
    • Fixed issue with dangling threads not been stopped (interrupted) correctly.
  • Bot API for .Net:
    • Fixed issue with country codes (on macOS) which also caused boot up problems for .Net based bots running under
      macOS (#20).
    • Fixed issue with bots stopping doing actions when battle is restarted. E.g. the Corners sample bot was affected by
      this issue.

Documentation

You can read more about Robocode Tank Royale here:
https://robocode-dev.github.io/tank-royale/

Running Robocode

You need Java 11 as a minimum or newer to be preinstalled on your system. I recommend newer versions of Java, e.g. version 18.
You can read the installation guide to get more details about installing Java and Robocode.

The Robocode GUI application must be run from the command line in order to start and view battles:

java -jar robocode-tankroyale-gui-0.13.1.jar

robocode-tankroyale-gui-0.13.1.jar

Note that you need to download sample bots and install those into directories on your system, and add these directories from the menu:

Config → Bot Root Directories

Sample bots

These sample bots are currently available:

C#: sample-bots-csharp-0.13.1.zip
Java: sample-bots-java-0.13.1.zip

Note that the C# bots need Microsoft .Net SDK 5.0 or newer and must be preinstalled.

Bot API

In order to develop bots for Robocode, you'll need one of the provided APIs for the Java/JVM or .Net platform.

Java:

Available as a jar file: robocode-tankroyale-bot-api-0.13.1.jar

Available as an artifact on the Sonatype Nexus Repository here. At some point after this release the artifact will also become available from the Maven Central Repository.

.Net:

Available as artifact on the Nuget repository:
https://www.nuget.org/packages/Robocode.TankRoyale.BotApi/0.13.1

dotnet add package Robocode.TankRoyale.BotApi --version 0.13.1