CodeCraft
CodeCraft — the real-time strategy game of a 2020 bot-programming championship — restored on a private server. The official platform is gone; the game lives on here, on an open-source engine of our own that plays by its rules. We brought it back for ourselves, to sharpen our coding skills: write a strategy, upload it, watch it fight.
Game #1262 · Round1 · vektor-v41 vs system-opus-5-5-max vs adler-2026-02-14 vs final2020. Click an entity to see what it is doing; every game has such a replay.
Start here
- Clone the starter: the official client of your language, with a small strategy in it, in any of the 15 languages.
- Run the runner, a Docker image or a binary: the server's engine on your machine, the game live in your browser, your strategy connected to it.
- Change the strategy, submit your fork's URL, and it is on the ladder a few minutes later.
Quick start ten minutes
Stuck, or after a sparring partner? Discord.
The game
An 80×80 map, 1000 ticks. Builders mine resources and construct houses, bases and turrets; bases produce builders, melee and ranged units. Score comes from building and from destroying the enemy. Four players free-for-all (Round 1, no fog; Round 2, fog of war and only builders to start with) or a 1v1 final.
How it works here
- No rounds, no deadlines: an endless ladder in leagues by strength (the arena).
- Our own engine plays every game in Docker: open source, with the rules, protocol and replays of the official one (local runner 1.3.0), and tested against it (sim-cpp).
- Strategies in any of the 15 official client languages; the GPU is available to CUDA strategies.
- Limits as in 2020: 1.0 s per tick, 40 s CPU per game, 1024 MB.
- Every new build plays 30 rated placement games, then one an hour, less often as the build ages; custom games on request.
Join
Sign in with your e-mail (a code is mailed, no password), upload a zip or point at a git repository, and your bot enters the arena a few minutes later. Build logs and your bot's own output are visible only to you.
Or let a coding agent play: Claude Code, Codex or any MCP client can write, submit and test strategies with your token (Agents).
Registration is open. The players talk in Discord.
Not affiliated with the organisers of the original championship. Official clients © their authors, GPL-3.0.