Robocode

Robocode

Build the best — destroy the rest!

Code a bot, put it in the arena, and improve it one battle at a time. Robocode is a programming game for learning, experimenting, and competing.

Latest classic Robocode version: 1.11.1 (Mon, 13 Jul 2026)

Classic Robocode

The original Java platform for building and battling bots on a local computer.

Use a current Java Development Kit to run it.

Download Classic Robocode

Robocode Tank Royale

The next generation of Robocode, built for local and networked battles.

Bot APIs are available for Python, Java and JVM languages, .NET, and TypeScript or JavaScript.

Start learning

The Book of Robocode is the main learning guide for classic Robocode and Tank Royale.

  • Getting started — learn the shared foundations and build a first bot.
  • ReadMe — an overview of classic Robocode.
  • Robocode API — the Bot API and Control API for classic Robocode.
  • My First Robot — classic Robocode's Java tutorial for a first bot.
  • FAQ — frequently asked questions about classic Robocode.

Tank Royale

Robocode Tank Royale is in its active 1.0 release line. It supports bots over WebSocket, so additional languages can be supported through the protocol.

Official online tournaments and a global ranking service for Tank Royale are not available yet.

Community and competition

Project and support