0.16.0 #41
flemming-n-larsen
announced in
Announcements
0.16.0
#41
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
0.16.0 - Introduction of boot id - 31-Aug-2022
The boot id has been introduced to make it easier to identify which bots have booted locally. Previously, only the host and port were available on the server side, making it hard to identify the bots started from a controller. Now the boot id uniquely identifies a booted bot.
Previously, a process id (pid) was used to uniquely identify a bot being booted, but the pid has been replaced by the new boot id.
bot-handshake
has been extended to include thebootId
when the bot is booted locally. This field may be empty when a bot has not been booted by the Booter.BOOT_ID
environment variable.BOOT_ID
environment variable and includes this within the botbot-handshake
when it is sent to the server.Bugfixes:
waitFor(Condition)
so it executes before checking the condition the first time.Documentation
You can read more about Robocode Tank Royale here:
https://robocode-dev.github.io/tank-royale/
Try it out
Please head over to My First Bot tutorial to learn how to set up your first bot for Robocode 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:
robocode-tankroyale-gui-0.16.0.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.16.0.zip
Java: sample-bots-java-0.16.0.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.16.0.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.16.0
This discussion was created from the release 0.16.0.
This discussion was created from the release 0.16.0.
Beta Was this translation helpful? Give feedback.
All reactions