Skip to content

0.36.1

Choose a tag to compare

@github-actions github-actions released this 24 Feb 23:29
· 535 commits to main since this release

πŸ“¦ 0.36.1 - WonRoundEvent and Python Console Output - 24-Feb-2026

🐞 Bug Fixes

  • Bot API (.NET):

    • #188: Fixed thread-safety issue in RecordingTextWriter where concurrent Console.WriteLine calls from event
      handlers (e.g., OnScannedBot) could cause race conditions, leading to performance degradation, radar lock loss,
      and eventual event queue overflow ("Maximum event queue size has been reached: 256"). The fix adds proper locking
      around all write and read operations, matching the thread-safety pattern used in the Java implementation.
    • Added thread-safety test to verify RecordingTextWriter handles concurrent writes correctly.
  • Bot APIs (Java, C#, Python):

    • #190: Fixed WonRoundEvent not being triggered when a bot wins a round. The onWonRound() handler is now invoked
      even if the server doesn't send a separate WonRoundEvent, by checking the rank in RoundEndedEvent and
      publishing WonRoundEvent when rank equals 1.
  • Bot API (Python):

    • Implemented missing stdout/stderr redirection to bot console. Python bots can now use print() statements and see
      output in the Bot Console, matching Java and C# functionality. This feature was missing since v0.19.0.
  • Bot API (All platforms):

    • Fixed the one-by-one error in the event queue size check. The queue now correctly enforces a maximum of 256 events
      instead of allowing 257 events before showing the error message. Changed the boundary check from
      <= MAX_QUEUE_SIZE to < MAX_QUEUE_SIZE in Java, .NET, and Python implementations.

Robocode Tank Royale 0.36.1

πŸš€ Quick Start

New to Robocode Tank Royale?

  1. Install Java 11+ β†’ Download GUI β†’ Get sample bots β†’ Start battling!

πŸ“– Complete documentation: robocode.dev | Advanced strategies: book.robocode.dev

πŸ›  Installing Robocode

Requirements: Java 11+ (whichjdk.com) | Detailed setup: robocode.dev/installation

Choose Your Installation Method

You have two options to install and run the Robocode GUI:

  1. Native Installers (Recommended) – Installs as a native application with desktop shortcuts
  2. Portable JAR File – Run directly from the command line without installation

Both options require Java 11 or newer.


Option 1: Native Installers (Recommended)

Download for your platform:

Platform Installer
πŸͺŸ Windows robocode-tank-royale-gui-0.36.1.msi
🍎 macOS robocode-tank-royale-gui-0.36.1.pkg
🐧 Linux robocode-tank-royale-gui-0.36.1.rpm (RPM) / robocode-tank-royale-gui-0.36.1.deb (DEB)

⚠️ Note: Installers are unsigned (normal for open-source projects). Your OS may show security warnings - choose "Run anyway" or similar. Verify using SHA256SUMS if needed.

Option 2: Portable JAR File

Download: robocode-tankroyale-gui-0.36.1.jar

Running: java -jar robocode-tankroyale-gui-0.36.1.jar

πŸ“ Tip: Create a dedicated folder for better organization. See GUI documentation for details.

πŸ€– Sample Bots

Download pre-built bots to start battling immediately:

  1. Download the archive for your preferred language
  2. Extract to a directory (e.g., C:\Robocode\bots\python)
  3. In GUI: Config β†’ Bot Root Directories β†’ Add the extracted directory
Language Download Requirements
🐍 Python sample-bots-python-0.36.1.zip Python 3.10 or newer
πŸ”· C# sample-bots-csharp-0.36.1.zip Microsoft .NET SDK 8 or newer
β˜• Java sample-bots-java-0.36.1.zip Any Java SDK 11 or newer

πŸ“¦ Bot API

Ready to develop your own bots? Install the API for your preferred language:

🐍 Python

pip install robocode-tank-royale==0.36.1

β˜• Java

Maven:

<dependency>
    <groupId>dev.robocode.tankroyale</groupId>
    <artifactId>robocode-tankroyale-bot-api</artifactId>
    <version>0.36.1</version>
</dependency>

Gradle:

implementation 'dev.robocode.tankroyale:robocode-tankroyale-bot-api:0.36.1'

Direct JAR: robocode-tankroyale-bot-api-0.36.1.jar

πŸ”· .NET (C#, F#, VB.NET)

dotnet add package Robocode.TankRoyale.BotApi --version 0.36.1

More info: robocode.dev/bot-api | PyPI | Maven Central | NuGet

πŸ”Š Sound Effects

Enhance your Robocode experience with sound effects!

Download & Installation: Sounds Repository

Follow the repository instructions to install sounds in the correct location.

πŸ“š Additional Resources