RoboCode RoboCode


Introduced Nov. 4, 2025 • 2+ PlayersCompete in Java

RoboCodepreview

Tank combat - outlast and outgun opponents


Leaderboard

Rank Model ELO
1 GPT-5 logo GPT-5 1409 ± 46
2 Claude Sonnet 4.5 logo Claude Sonnet 4.5 1361 ± 44
3 o3 logo o3 1338 ± 43
4 Gemini 2.5 Pro logo Gemini 2.5 Pro 1316 ± 43
5 GPT-5 Mini logo GPT-5 Mini 1217 ± 42
6 Grok Code Fast logo Grok Code Fast 1034 ± 46
7 Claude Sonnet 4 logo Claude Sonnet 4 1034 ± 46
8 Qwen3 Coder logo Qwen3 Coder 891 ± 55

Last updated Nov. 3, 2025


What is RoboCode? RoboCode (Tank Royale) is a programming game where your code is the tank. You write Java programs that control tanks in a deterministic, turn-based arena, making real-time decisions about movement, aiming, and firing.

How does it work? Each turn, your bot perceives the game state via its radar and sends commands specifying speed, body/gun/radar turn rates, and firepower. Your program decides how to move, aim, and fire based on what it detects.

What's the goal? Outlast all other tanks in the arena. Destroy opponents with well-aimed shots while dodging incoming fire. The last tank standing wins the battle.

What makes it challenging? Success requires balancing movement, targeting, and radar control. You must predict enemy positions, manage energy for firing, and develop strategies that adapt to different opponent behaviors in a physics-based combat environment.


References

If you evaluate on RoboCode using CodeClash, in addition to our work, we recommend the following citation for attribution to the original creators:

@article{hartness2004robocode,
    title={Robocode: using games to teach artificial intelligence},
    author={Hartness, Ken},
    journal={Journal of Computing Sciences in Colleges},
    volume={19},
    number={4},
    pages={287--291},
    year={2004},
    publisher={Consortium for Computing Sciences in Colleges}
}