Skip to content

0.29.0

Latest
Compare
Choose a tag to compare
@flemming-n-larsen flemming-n-larsen released this 19 Jan 15:09
· 4 commits to main since this release

πŸ“¦ 0.29.0 - All about colors - 19-Jan-2024

This version causes a breaking change for the Color class. The Color class was removed and replaced with the Color class used with the used platform (Java or C#).

πŸš€ Improvements

  • Server:
    • Replaced SLF4J's SimpleLogger with own implementation based on the SLF4J API to provide ANSI colors on log levels.
  • Bot API:
    • Replaced using Robocode's Color class with java.awt.Color for Java and System.Drawing.Color for C#.
  • Sample Bots:
    • Updated to use the Color class from the used platform (Java or C#).

πŸ“„ Documentation

You find the Robocode Tank Royale documentation here. You should start out by reading Getting Started first.

πŸ”¨ Try it out

Please head over to My First Bot tutorial to learn how to set up your first bot for Robocode Tank Royale.

πŸ›  Installing Robocode

You need Java 11 as a minimum or newer, e.g. the newest version of Java available.

You can read the installation guide to get more details about installing both Java and Robocode.

β–Ά Running Robocode

The main application is the GUI Application which is a Java application. You can read about how to use the GUI Application here.

The Robocode GUI application is run from the command line (shell or command prompt) in order to start and view
battles:

java -jar robocode-tankroyale-gui-0.29.0.jar

πŸ€– Sample bots

If you are new to Robocode, you need to download some bots and extract those to directories on your system.
These bot directories can be added from the menu of the GUI: Config β†’ Bot Root Directories

These sample bots are currently available:

Platform Archive Requirements
C# sample-bots-csharp-0.29.0.zip Microsoft .Net SDK 6.0 or newer
Java sample-bots-java-0.29.0.zip Any Java SDK 11 or newer

All bots are put in zip archives, which should be installed in independent directories.
Each zip archive contains a ReadMe.md file with more information for the specific platform.

πŸ“¦ Bot API

In order to start developing bots for Robocode, the following APIs are available.

πŸ“¦ Java:

Available as:

πŸ“¦ .Net:

Available as: