Skip to content

v0.11.1

Compare
Choose a tag to compare
@flemming-n-larsen flemming-n-larsen released this 07 Apr 19:33

0.11.1 - Patch for the GUI

Bugfixes

  • ConcurrentModificationException could occur for BotSelectionPanel.updateJoinedBots(). Could not create a new battle.
  • Fixed issue with starting a new battle from the menu with Battle → 'Start Battle' a second time.

Changes

  • "Restart server" has been renamed into "Reboot Server", and the server and battle is fully stopped, and bots are
    disconnected. Confirmation dialog for rebooting now differ between the reboot is a user action or due to a changed
    server setting.
  • Control panel (Pause/Resume, Stop, Restart, TPS) is now always shown when first battle has been started. Various
    improvements were done to the control panel.
  • A busy cursor is now (automatically) shown when an operation takes some time to perform.

Documentation

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

Running Robocode

You need Java 11 as minimum or newer to be preinstalled on your system. 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.11.1.jar

robocode-tankroyale-gui-0.11.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.11.0.zip (reusing version 0.11.0)
Java: sample-bots-java-0.11.0.zip (reusing version 0.11.0)

Note that the C# bots need Microsoft .Net SDK 5.0 or newer 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.11.0.jar (reusing version 0.11.0)

Available as an artifact on the Maven repository: https://mvnrepository.com/artifact/dev.robocode.tankroyale/robocode-tankroyale-bot-api

<dependency>
  <groupId>dev.robocode.tankroyale</groupId>
  <artifactId>robocode-tankroyale-bot-api</artifactId>
  <version>0.11.1</version>
</dependency>

(The version 0.11.0 and 0.11.1 of the bot api artifact are identical)

.Net:

Available as artifact on the Nuget repository:
https://www.nuget.org/packages/Robocode.TankRoyale.BotApi/ (reusing version 0.11.0)

dotnet add package Robocode.TankRoyale.BotApi