Skip to content

Releases: robo-code/robocode

Robocode 1.11.0

Choose a tag to compare

@flemming-n-larsen flemming-n-larsen released this 06 Jun 12:13

Version 1.11.0 (06-Jun-2026)

Changes

  • Installer overhaul: Refactored the monolithic AutoExtract installer (844 lines) into 5 focused classes
    (Installer, InstallerDialog, Extractor, ShortcutManager, OsUtil).
  • Reduced confirmation dialogs from 5 user prompts down to 1 — a single "Install to" dialog with Proceed/Cancel.
  • Removed license agreement dialog, start-menu shortcut prompt, and Windows file associations prompt.
  • Removed Windows .battle/.br file association registration (rarely used, required admin privileges).
  • Removed legacy code: Win 9x/ME command.com path, obsolete .robotcache migration, fragile self-cleanup hacks.
  • Windows shortcuts are now always created without prompting.
  • Improved code quality: try-with-resources, StringBuilder, proper error handling, fixed spinner animation bug.

Bugfix

  • #89: Prevent a single fire command from spawning duplicate bullets with the same ID
    • A single setFire() call could spawn multiple bullets sharing the same bullet ID, which could cause issues with
      bullet tracking and battle accuracy.
    • Thanks go to Pavel Savara for fixing this ❤️. Sharp-eyed fix!

Robocode 1.10.3

Choose a tag to compare

@flemming-n-larsen flemming-n-larsen released this 18 May 09:37

Version 1.10.3 (18-May-2026)

Bugfix

  • #85: Fix NPE causing truncated battles when a robot thread stop is attempted
    • If the thread stop fails, a NullPointerException was thrown which aborted the battle early, resulting in battles
      being reported with results but the wrong number of rounds.
      The fix takes a reference to the thread beforehand so the NPE is avoided when forceStop() sets it to null.
    • Thanks go to Julian Kent for fixing this ❤️. Nice catch!

Changes

Version 1.10.2 (24-Dec-2025)

Bugfix

  • Fixing security issues (CWE-23)

Robocode 1.10.1

Choose a tag to compare

@flemming-n-larsen flemming-n-larsen released this 09 Dec 18:57

Version 1.10.1 (09-Dec-2025)

Bugfix

  • #71: Replaced Thread.stop() call with Thread.interrupt() in the RobotThreadManager
    • The Thread.stop() call has been removed as of Java 21, so the old call to stop() would cause the rest of the
      battle to be aborted; e.g., if you were running 100 rounds, but after the second a robot's thread needs to be
      terminated, then that would abort the rest of the rounds.
      By swapping in interrupt, the thread should still terminate, but gracefully.
    • Thanks go to Jeremiah Blanchard for fixing this ❤️. Nice catch!

Changes

  • Improved documentation and comments with all sample bots.
  • Updated libraries (dependencies) to the latest versions (including Eclipse Compiler for Java and Codesize).

Robocode 1.10.0

Choose a tag to compare

@flemming-n-larsen flemming-n-larsen released this 04 Jun 19:27

Version 1.10.0 (04-Jun-2025)

Robocode's code around RobocodeSecurityManager has been refactored to ensure compatibility with Java 24 and newer
versions, even after the retirement of the Security Manager in Java 24.
Read more here.
Additionally, Robocode remains fully functional on older Java versions, from Java 8 onward.

Changes

  • Java 24 support: Implemented new security mechanisms that work with Java 24+ while maintaining compatibility with
    Java 8+.
  • Versioning update: Adopted Semantic Versioning starting with version 1.10.0.

Robocode 1.9.5.6

Choose a tag to compare

@flemming-n-larsen flemming-n-larsen released this 30 May 22:32

Version 1.9.5.6 (30-May-2025)

Bugfix

Lim Sim Yee found and fixed the following vulnerabilities. Thank you for the PRs ❤️

Vulnerabilities fixes:

  • #67: The CacheCleaner contained a Directory Traversal Vulnerability when deleting files (recursively).
  • #68: Fix for Insecure Temporary File Creation.
  • #70: Fix Integer Overflow Vulnerability in Buffer Write Method.

Naval Robocode 0.9.2

Choose a tag to compare

@flemming-n-larsen flemming-n-larsen released this 02 Mar 21:29

Naval Robocode Version 0.9.2 (02-Mar-2015)

Changes

  • Merged all changes with Naval Robocode with Robocode 1.9.2.4 (newest version).
  • Flemming clean-up and Naval Robocode specification
  • Now able to use naval-robocode.bat to start Naval Robocode
  • Fixed a few UnitTests that fell short due to a few missing classes
  • The in-game editor can now create a sample ship for you.

Bug fixes

  • Mines now have a blast Radius. (See NavalRules)
    • Angles have been better documented
    • Custom run config robocode.NavalRobocode

Naval Robocode Version 0.9.1 (27-Jan-2015)

First release

  • Ships instead of tanks
  • Water background
  • Still uses robocode.Robocode to launch
  • Using the eclipse editor would be for the best
  • Ships can place mines
  • The version used within the company