Skip to content

0.13.4

Compare
Choose a tag to compare
@flemming-n-larsen flemming-n-larsen released this 06 Jun 11:56

0.13.4 - GUI improvements + bugfix - 06-Jun-2022

Bugfixes:

  • Bot API for Java:
    • Major bugfix with getTurnRemaining() (#28), which returned the wrong value. This could be seen with the sample bot, Crazy, which did not turn correctly.

Changes:

  • GUI:
    • Del Key: It is now possible to use the Del key to remove a selected bot item on the Booted Bots (to unboot), Joined Bots, and Selected Bot lists when selecting bots for a new battle.
    • Unboot All: An ← Unboot All button has been added right below the ← Unboot button.
    • TPS:
      • The last used TPS (Turns Per Second) is now restored when starting up the GUI again.
      • Added a "Default TPS" button to reset the TPS to the default setting (30 TPS).
    • Tool tips: Added tool tip texts on the Control panel.

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.4.jar

robocode-tankroyale-gui-0.13.4.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.4.zip
Java: sample-bots-java-0.13.4.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.4.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.4

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