Developer builds AI-vs-AI RTS game in 5 days using Claude Code
A developer created VectorCraft, an AI-controlled real-time strategy game, in five days with minimal human input. The game pits AIs like Claude Code, Codex, and Antigravity against each other in a StarCraft-like battle, with humans acting as spectators.
Key points
- Developer built an AI-vs-AI RTS game (*VectorCraft*) in 5 days using Claude Code for ~1.5 hours of coding
- Game runs on Node.js with no npm dependencies; AIs connect via MCP protocol to control factions in real-time
- Balance fixes required after testing revealed unit matchup flaws, adjusted via automated tests and stat tweaks
The project ran on Node.js alone, required no npm dependencies, and used Claude Code for 1.5 hours of active coding—including writing the server, MCP protocol, and spectator UI—while the developer focused on design and tweaks like visuals, sound effects, and music transitions. The game features 13 commands, 16 preset voice lines, and automated playtests (53 at launch), with a rock-paper-scissors combat system (spark vs. lancer vs. titan). Balance issues emerged when testing, requiring adjustments to unit stats to ensure fair matchups.
The developer used Claude Code for iterative requests—mostly one-liners—to refine gameplay, UI, and audio. For example, they generated a starry sky background, added unit encyclopedias, and integrated dynamic music via Suno, switching tracks based on battle intensity. The project also included a replay system showing failed commands in red and AI commentary. While Claude Code handled most coding, other AIs (Codex, Antigravity) were integrated via config files. The developer noted that AIs often played silently, so they added prompts to encourage commentary every 30–60 seconds.

The headline, key points and digest above were generated by Digest AI's editorial model from the linked sources. Automated summaries can contain errors: the sources are the record. Spotted a mistake? Tell us. Published by Martin K., who runs Digest AI and handles corrections.
More in Marketing & Small Business
All →- OpenAI launches OpenWorks to pay partners up to $8,000 monthly · 2 src
- Google releases Gemini 4 Carbon for complex reasoning tasks · 3 src
- Study of 883,000 Bing AI citations finds 58% come from non-standard pages like PDFs and app pages · 1 src
- Junior AI system improves daily review for daughter's exam prep · 1 src
- Voice AI Struggles with Kenyan Spoken Dialects · 1 src
Comments
via GitHub Discussions