v0.11.0 #9
flemming-n-larsen
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
0.11.0 - Initial position feature
Bugfixes
Changes
initialPosition
field in the JSON file for your bot with a value like50,50,90
to request a startingcoordinate at (50,50) with the bot heading toward 90°.
--enable-initial-position
(or the short version-I
) must be set to enable the initial positions feature onthe server. If initial position is not enabled, the bot will start at a random position.
initialPosition
to demonstrate this feature.misc.properties
has been renamed intoconfig.properties
and theserver-url
setting wasmoved to the
server.properties
file.changes take effect.
Documentation
You can read more about Robocode Tank Royale here:
https://robocode-dev.github.io/tank-royale/
Running Robocode
You need Java 11 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:
robocode-tankroyale-gui-0.11.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.11.0.zip
Java: sample-bots-java-0.11.0.zip
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 an artifact on the Maven repository:
https://mvnrepository.com/artifact/dev.robocode.tankroyale/robocode-tankroyale-bot-api
.Net:
Available as artifact on the Nuget repository:
https://www.nuget.org/packages/Robocode.TankRoyale.BotApi/
This discussion was created from the release v0.11.0.
Beta Was this translation helpful? Give feedback.
All reactions