Skip to content

Robocode logo

Robocode Tank Royale ​

Build the best - destroy the rest!

✨ Welcome ​

Welcome to the Robocode docs. These docs are meant for people who are new to Robocode, as well as a reference guide to various aspects of the Robocode Tank Royale programming game.

πŸ† Play ranked in the Rumble ​

The Tank Royale Rumble is the community's ranked competition, and you play it right from the desktop program. Open the Rumble menu to submit your bot, download other bots to practise against, run ranked battles and see how you stand.

The Rumble menu in the Tank Royale GUIThe Rumble menu in the Tank Royale GUI

πŸš€ Get Started ​

On this page you can pick articles on the menu on the left side to read about various topics.

If you are new to Robocode, you should start with:

Advanced strategies

πŸ“˜ The Book of Robocode

Want to go beyond the fundamentals? The Book of Robocode is the advanced companion to these docs, covering movement, targeting, radar control, energy management, and competition-level tactics for both Robocode and Tank Royale.

πŸ—ΊοΈ Learning Roadmap ​

Robocode mastery is a journey from fundamentals to advanced competitive strategies. We've organized documentation into a clear learning path:

🎯 Foundation (Start Here) ​

Essential concepts everyone needs:

  1. Introduction - What is Robocode?
  2. Installation - Set up your environment
  3. Getting Started - Core concepts (rounds, turns, energy)
  4. My First Bot - Create your first bot
  5. Anatomy of a Bot - Understanding body, gun, and radar
  6. Coordinates and Angles - Arena coordinate system
  7. Physics - Movement, rotation, and bullet mechanics

πŸ”§ Intermediate Skills ​

Build competent bots with solid fundamentals:

πŸ“š Advanced Topics (The Book of Robocode) ​

Ready for advanced competitive strategies? These docs cover the fundamentals, while The Book of Robocode takes you further into competition-level tactics:

πŸ–₯️ Tank Royale Viewer ​

Want to visualize battles in style? Check out the Tank Royale Viewerβ€”an amazing and beautiful web-based viewer for watching Robocode Tank Royale matches in real-time! Created by Jan Durovec (who also built the Recorder for Tank Royale's replay feature), this tool brings your battles to life with an interactive, modern interface.

Perfect for:

  • πŸ† Displaying live battles on big monitors during competitions and tournaments
  • πŸ“Š Understanding bot strategies and showcasing championship matches

Ideal for spectators, broadcasters, and tournament organizers! ⚑

Give the Tank Royale Viewer a try!

πŸ™ Thanks to the contributors ​

Huge thanks to every contributor β€” you make this project shine! πŸ™Œ

β˜• Support Robocode ​

If you are a fan of Robocode, you can support the project and me by buying some coffee 😊

"Buy Me A Coffee"

Released under the Apache License 2.0.