{"id":34846571,"url":"https://github.com/robocode-dev/tank-royale","last_synced_at":"2026-04-02T21:43:30.194Z","repository":{"id":37086453,"uuid":"457523927","full_name":"robocode-dev/tank-royale","owner":"robocode-dev","description":"Git repository for Robocode Tank Royale","archived":false,"fork":false,"pushed_at":"2026-02-08T22:56:44.000Z","size":45241,"stargazers_count":237,"open_issues_count":5,"forks_count":48,"subscribers_count":7,"default_branch":"main","last_synced_at":"2026-02-09T04:24:19.172Z","etag":null,"topics":["ai","battle","battle-","battle-a","battle-royale-game","bot","bot-framework","coding-game","competition","csharp","education","java","learning","machine-learning","open-source","programming-game","python","robocode","tank","tank-game"],"latest_commit_sha":null,"homepage":"https://robocode.dev","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/robocode-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2022-02-09T20:50:08.000Z","updated_at":"2026-02-08T22:56:47.000Z","dependencies_parsed_at":"2023-10-01T21:14:17.940Z","dependency_job_id":"0206edcf-241d-4e45-aed2-2e7b66252205","html_url":"https://github.com/robocode-dev/tank-royale","commit_stats":null,"previous_names":[],"tags_count":64,"template":false,"template_full_name":null,"purl":"pkg:github/robocode-dev/tank-royale","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robocode-dev%2Ftank-royale","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robocode-dev%2Ftank-royale/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robocode-dev%2Ftank-royale/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robocode-dev%2Ftank-royale/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robocode-dev","download_url":"https://codeload.github.com/robocode-dev/tank-royale/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robocode-dev%2Ftank-royale/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29379650,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T19:05:20.189Z","status":"ssl_error","status_checked_at":"2026-02-12T19:01:44.216Z","response_time":55,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","battle","battle-","battle-a","battle-royale-game","bot","bot-framework","coding-game","competition","csharp","education","java","learning","machine-learning","open-source","programming-game","python","robocode","tank","tank-game"],"created_at":"2025-12-25T18:15:38.807Z","updated_at":"2026-04-02T21:43:30.188Z","avatar_url":"https://github.com/robocode-dev.png","language":"Kotlin","readme":"# Robocode Tank Royale\n\n\u003cimg src=\"gfx/Logo/Robocode-logo.svg\" width=\"220\" alt=\"Robocode logo\"\u003e\n\n**Build the best – destroy the rest!**\n\n## 🤖 About\n\nRobocode is a [programming game](https://en.wikipedia.org/wiki/Programming_game) where the goal is to code a bot in the\nform of a virtual tank that competes against other bots in a virtual battle arena.\n\nThe player writes a program that controls the bot’s movement, scanning, firing, and reactions to events during a battle.\nAll logic lives inside this program – you never control the bot directly.\n\nThe name **Robocode** is short for “Robot code” and comes from the original version\n[here](https://robocode.sourceforge.io/).  \n**Robocode Tank Royale** is the next evolution, where bots can play over the Internet via WebSocket.\n\nThis project aims to help you learn programming, improve AI skills in a fast‑running real‑time game,\nand have fun while competing.\n\n## ⚔️ Example of a battle\n\n\u003cimg src=\"docs-build/docs/images/robocode-battle-anim.gif\" alt=\"GIF animation of tanks battling each other on a 2D battlefield\"\u003e\n\n## 🖥️ Tank Royale Viewer\n\nWant to **visualize battles in style**? Check out the\n**[Tank Royale Viewer](https://github.com/jandurovec/tank-royale-viewer)**—a beautiful web-based viewer for\nwatching Robocode Tank Royale matches in real-time! Created by [Jan Durovec](https://github.com/jandurovec), this tool\nis perfect for displaying live battles on big monitors during competitions, analyzing recorded battles, and showcasing\nchampionship matches.\n\n## 📚 Documentation\n\nMain page:  \n[Robocode Tank Royale Docs](https://robocode-dev.github.io/tank-royale/)\n\n### The Book of Robocode\n\n[**The Book of Robocode**](https://book.robocode.dev/) 📖 is a comprehensive guide covering Robocode as well as\nRobocode Tank Royale—from basics to advanced strategies like wave surfing, guess-factor targeting, and\nmovement techniques. It builds on two decades of community knowledge and foundational research from RoboWiki\ncontributors.\n\n### 🚀 Try it out\n\nIf you are new to Robocode or just need a refresher, start with the\n[Getting Started guide](https://robocode-dev.github.io/tank-royale/tutorial/getting-started).  \nFor hands‑on coding, continue to the\n[My First Bot tutorial](https://robocode-dev.github.io/tank-royale/tutorial/my-first-bot.html).\n\nThe [Installation guide](https://robocode-dev.github.io/tank-royale/articles/installation.html) covers how to install the GUI,\nand includes sample bots for quick demos.\n\n## 💻 Supported platforms\n\nRobocode runs on Java 11 or newer and supports Windows, macOS, and Linux out of the box.  \nBot APIs are available for:\n\n- **Python**\n- **Java (JVM)**\n- **.NET**\n\nBots can be written in any language that can access a WebSocket API and follows the\n[protocol](https://github.com/robocode-dev/tank-royale/tree/master/schema/schemas#readme).\n\nThe following Bot APIs provide full client implementations:\n\n| Language       | API                                                                                   |\n|----------------|---------------------------------------------------------------------------------------|\n| **Python**     | [Python Bot API](https://robocode-dev.github.io/tank-royale/api/python/)              |\n| **Java (JVM)** | [Java/JVM Bot API](https://robocode-dev.github.io/tank-royale/api/apis.html#java-jvm) |\n| **.NET**       | [.NET Bot API](https://robocode-dev.github.io/tank-royale/api/apis.html#net)          |\n\nAdditional languages supported by the Java/JVM API:\n\n- Java\n- Groovy\n- Kotlin\n- Scala\n- Jython\n- Clojure\n\nSupported .NET languages:\n\n- C#\n- F#\n- Visual Basic\n- IronPython\n\n## ⚙️ Battle Runner API\n\nThe **Battle Runner API** lets you run battles programmatically from any JVM application — no GUI required.\nUse it for automated testing, benchmarking, or building tournament systems.\n\n```kotlin\nBattleRunner.create { embeddedServer() }.use { runner -\u003e\n    val results = runner.runBattle(\n        setup = BattleSetup.classic { numberOfRounds = 10 },\n        bots  = listOf(BotEntry.of(\"/path/to/MyBot\"), BotEntry.of(\"/path/to/EnemyBot\"))\n    )\n    println(\"Winner: ${results.results.first().name}\")\n}\n```\n\nAvailable on Maven Central as `dev.robocode.tankroyale:robocode-tankroyale-runner`.\nSee the [Battle Runner API docs](https://robocode-dev.github.io/tank-royale/api/battle-runner) or the\n[module README](runner/README.md) for full documentation.\n\n## 🚧 Work in progress\n\n- **Bot API for TypeScript** (Node.js and browser support)\n    - JavaScript\n    - TypeScript\n- **Robocode API bridge for Tank Royale** – see the [robocode-api-bridge](https://github.com/robocode-dev/robocode-api-bridge) project.\n\n## Thanks to the contributors\n\nHuge thanks to every [contributor](https://github.com/robocode-dev/tank-royale/graphs/contributors) — you make this\nproject shine! 🙌\n\n## 👨‍💻 Maintainer\n\n[@flemming-n-larsen](https://github.com/flemming-n-larsen)\n\n[![Buy Me A Coffee](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://buymeacoffee.com/flemming.n.larsen)\n\n## 📄 License\n\n[Apache License 2.0](LICENSE)\n\n## ©️ Copyright\n\nCopyright © 2022 [Flemming N. Larsen](https://github.com/flemming-n-larsen)\n","funding_links":["https://buymeacoffee.com/flemming.n.larsen"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobocode-dev%2Ftank-royale","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobocode-dev%2Ftank-royale","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobocode-dev%2Ftank-royale/lists"}