0.13.0 #21
flemming-n-larsen
announced in
Announcements
0.13.0
#21
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
0.13.0 - Bot API for .Net 6
Changes
BotResults
, andGameEndedEvent
will only return a singleBotResult
containingthe battle results for the bot (instead of a list containing results from all bots).
scan()
andsetScan()
methods were renamed torescan()
andsetRescan()
.setInterruptible(boolean interruptible)
/Interruptable = [bool]
to allow restarting an event handlerwhile it is processing an earlier event.
required for starting the battle.
speed
field of thebullet-state
as the speed can be calculated as:20 - 3 x power
.Hence, there is no need to transfer this information over the network.
bot-results-for-bot
tobot-results-for-observer
.scan
field onbot-intent
was renamed torescan
.Bugfixes
finishing (#17).
run()
method has ended.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:
robocode-tankroyale-gui-0.13.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.13.0.zip
Java: sample-bots-java-0.13.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.13.0.jar
Available as an artifact on the Maven Central Repository
https://search.maven.org/artifact/dev.robocode.tankroyale/robocode-tankroyale-bot-api/0.13.0/jar
.Net:
Available as artifact on the Nuget repository:
https://www.nuget.org/packages/Robocode.TankRoyale.BotApi/0.13.0
This discussion was created from the release 0.13.0.
Beta Was this translation helpful? Give feedback.
All reactions