Skip to content

0.22.0

Compare
Choose a tag to compare
@flemming-n-larsen flemming-n-larsen released this 03 Dec 20:35
· 795 commits to main since this release

πŸ“¦ 0.22.0 - Improved ANSI support - 03-Dec-2023

πŸš€ Improvements

  • Bot API:

    • When running a bot from the command line, stdout and stderr will also be printed out in the bot console.
  • GUI:

    • The Bot Console and Server Log have been totally rewritten to improve performance (is not used HTML rendering
      anymore)
    • The logo in the server log in now shown with ANSI colors per default (might not work on all systems?)
    • The bot console now writes out the turn numbers from the previous turn, when output from the bot is written out.

πŸͺ² Bug Fixes

  • GUI:
    • #75: The GUI could get stuck and become unresponsive when displaying the busy pointer on Ubuntu.
    • #77: Unreadable Server Log on NixOS.
    • The scores presented after the battle has ended was not accumulated for all rounds, and hence incorrect.
    • The Properties tab of the Bot Console did not show any values when initialized, e.g. when game is paused.
    • Some stdout text from the bot were sometimes missing in the Bot Console. Solved by using the EDT.

πŸ“„ Documentation

You can read the Robocode Tank Royale documentation here.

πŸ”¨ 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, e.g. the newest version of Java available.

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

The main application is the GUI Application, which is a Java application.
You can read more 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.22.0.jar

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

πŸ€– Sample bots

These sample bots are currently available:

Platform Archive Requirements
C# sample-bots-csharp-0.22.0.zip Microsoft .Net SDK 5.0 or newer
Java sample-bots-java-0.22.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: