Building a multiplayer web RTS game with AI agents
The author used Claude Code and Opus 5.5 as orchestrator agents, pairing them with sub-agents for autonomous development, testing, and adversarial review. They completed a full multiplayer browser RTS game—including frontend, backend, generators, and marketing tools—in just 5 weeks. This real-world project proved that providing AI with concrete telemetry data, having AI build marketing tools, and embedding community features directly into the game are highly effective approaches.
Added 2026-11-10 · originally published 2026-11-08
Steps
- 1Set up the VS Code extension environment, configure an orchestrator agent to plan and break down tasks, and launch sub-agents to build independently across separate branches and worktrees.
- 2Set up merge gates for code integration: use jscpd for duplicate code checks, enable clippy pedantic for error prevention, and establish baselines for test coverage and mutation testing.
- 3Integrate telemetry and player funnel data during development (such as time-to-first-command, tutorial duration, and unit churn rate at various stages), feed these specific metrics to the AI, and let it iterate and fix user experience issues based on real data.
- 4Have the AI set up a devlog marketing pipeline: use a deterministic scene studio to capture storyboard shots, local TTS models for voiceover, and Whisper for verification and quality control to automatically generate short videos and comparison content.
- 5Two-way sync in-game chat and feedback with Discord by turning in-game feedback directly into Discord forum posts and receiving replies right inside the game.
- 6Kick off the project with an initial architecture prompt, letting the AI fully automate the end-to-end browser multiplayer game building process under a predefined tech stack (Rust/WASM, Tokio/Axum, Postgres, etc.).
Ideas for Chinese platforms
This real-world case study—leveraging an AI orchestrator agent to distribute tasks, automate reviews and merges, and utilize telemetry data alongside automated pipelines (such as automated short video marketing tools)—can be seamlessly adapted for automated content matrix operations on platforms like Xiaohongshu/TikTok or for rapid, full-stack indie product development.
## Brief: production-ready browser [game type or app name] ("[description of reference competitor or core gameplay]")
### 0. Brief and working mode
In this directory you build a complete, production-ready [project type] that runs **in the browser** . The whole stack runs on **Docker Compose** , locally and in production.
- You work **fully autonomously** until the Definition of Done is met.
- You make routine decisions yourself, document them and keep working. You don't stop for questions.
### 1. Concept and Requirements
- **Genre/Core Concept:** [describe core gameplay, target audience, and functional requirements here].
- **Quality Bar:** Maximum quality in every discipline, without compromise: code, architecture, performance, security, UX, and operations.Related use cases
Summarized by AI from the original source - refer to the original post for details. Copyright belongs to the original author.