0.17.0 #42
flemming-n-larsen
announced in
Announcements
0.17.0
#42
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
0.17.0 - Introduction of process id - 06-Sep-2022
The boot id concept introduced in release 0.16.0 has been rolled back and the pid is used with the Booter again. However, a new concept is introduced to replace the boot id, which is the process id.
When a client (bot, controller, observer) is connecting to a server, the server will generate a unique session id and send to the client via the
server-handshake
. The session id is used to uniquely identify the running instance of a client, and the client must send back the session id when sending its handshake to the server, e.g. abot-handshake
.The session id is replacing the boot id as the boot id is only available with bots being booted, and which might only be unique locally, but across multiple systems. With the session id, all clients have a single and unique id.
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.17.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.17.0.zip
Java: sample-bots-java-0.17.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.17.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.17.0
This discussion was created from the release 0.17.0.
This discussion was created from the release 0.17.0.
Beta Was this translation helpful? Give feedback.
All reactions