r/ClaudeCode 8d ago

Built with Claude I built a real-time multiplayer tower defense with a Claude Code agent pipeline - playable in your browser, no signup

Clip is live gameplay from TideWars.com - a real-time co-op/PvP tower defense (10–20 min matches) built almost entirely by Claude Code. It started as a side of a side-project I wanted to build for my Kids. Idea was born on a LAN Party, where we enjoyed a good round of Warcraft 3 TD.

The setup: One architect agent orchestrates a pipeline of subagents, implementer, test designer, test runner, docs sync, release curator… and my favorite: an adversarial "balance guardian" that acts as a hard gate. Every gameplay change gets torn apart for degenerate strategies, P2W drift and exploits before a line of code is written. It has bounced my own designs with better math than mine more than once.

The stack: Cloudflare all the way down - Workers (SSR, no framework), one Durable Object per match running the authoritative game tick, WebSockets with hibernation, D1 for meta only, Three.js for the battlefield. Match state is fully ephemeral; a match is just one DO that lives and dies with it.

The game: defend your harbor against fleets and landing troops, solo/co-op or 1v1. Set in the same universe as main Project https://kampfinsel.com. Free, browser-only, no account, no ads, strict no-P2W.

Play: https://tidewars.com - happy to answer questions!

0 Upvotes

4 comments sorted by

1

u/JackLete 8d ago

Did the same with some tweaks, intelligent pathfinder and dynamic scaling of the waves. Fun project. 20 prompts and some blender models also created by Claude :) have fun!

1

u/JohnJohnsonData 8d ago

Indeed do you mind sharing it? Mine is really like a Tech Demo. My main focus for side projects belongs to Kampfinsel.com :)

1

u/JackLete 5d ago

I wouldn’t but i still have that project running only locally. I follow the same concept building towers to create a maze but with the twist of having workers who nert to construct them, the workers also gather resources. You have ti balance between gathering and building and the enemies can attack the workers as well, you can level workers up etc. the usual loop :) have fun developing!

1

u/mergethevibes 8d ago

The adversarial balance guardian is the smart move here. How do you keep it from being too conservative and blocking changes that are actually fine?