AI Agent Builds Web-Based RTS Game

FindingDistinct86 · reddit · 2026-07-13

The author used an AI coding agent to build an Age of Empires-like browser RTS game from scratch. The tech stack is TypeScript, divided into a game server, a browser client, and shared logic.

They noted that the AI generated most of the code, while their own role focused on design decisions, testing, and minor fixes. Key implementations included pathfinding, an economic system, combat, bots, and multiplayer. The game is fully playable in the browser, supporting single-player against bots or multiplayer with friends.

The deployment setup is particularly interesting: instead of a cloud host, the server runs on an old Android phone 24/7, exposed via Cloudflare Tunnel. The project is fully open source, complete with a playable link and a GitHub repo, and the author welcomes feedback.

Related event: Developer Creates Browser RTS Game Using Claude(2 posts)→

Original post →

More from coding & agent

coding & agent channel →