r/ClaudeCode • u/Robotron1980 • 1d ago
Built with Claude Don't Touch the Dirt: 6 weeks, ~700 prompts, a browser game built with Claude Code [trailer]
Eight college friends, a van stuck in a sinkhole, and something under the desert. Get everyone to the general store before dark. Single player or peer-to-peer co-op, running in the browser on WebGPU.
Numbers
- 6 weeks (Sep 28 – Nov 9), about 33 days of actual work
- ~700 prompts over 100 Claude Code sessions. That includes short "yes, do it" replies; substantive requests are maybe two thirds of it
- 221 commits, ~75k lines of TypeScript (sim, client, tests)
- Almost all of it on Claude Opus, with Sonnet for some subagents
Tools
- Claude Code (desktop app): code, Blender models, audio processing, the trailer score. It also ran and playtested the game in its built-in browser: ~5,000 JavaScript probes into the running page and ~1,000 clicks and screenshots, checking its own changes
- three.js (WebGPU renderer, TSL shaders), Rapier physics, Vite, TypeScript, Vitest
- PeerJS for co-op: the host's browser runs the simulation, with no game server
- Blender, driven by Claude through an MCP bridge: every vehicle and building is a Python build script (box modeling and lofts, not primitive kitbash), modeled from reference photos and blueprints
- Mixamo for character bases and animation clips
- ChatGPT / Codex image generation: key art and store capsules, plus painting textures over Claude's clay renders of the models (~50 image prompts)
- Sound: CC0 field recordings (BigSoundBank, freesound), cut and mixed by Python scripts. The trailer score is no AI music generator: Claude synthesized it in Python (numpy) with CC0 orchestral samples (VSCO 2 Community Edition). It can't hear, so it checked levels and spectra by measurement while I listened and gave notes. Several rounds came out too heroic, too whimsical or too "video game" before landing on a slow 1950s B-monster march
- Trailer edit: footage captured with OBS using a capture mode in the game that hides all UI, cut in DaVinci Resolve
Stages (prompts in each)
- Prototype, days 1–4 (~165). The worm chase, stealth and a tremor-meter HUD, flares, survival systems, townsfolk, a first co-op server.
- World and art, week 2 (~70). Blender art pass, destructible wooden buildings the worm bursts through, drivable pickup and tractor, an 8×3 km valley streamed around the player, peer-to-peer co-op in place of the server.
- Design reset (inside stage 2). I stopped and wrote a design doc before building more. The mission/stash/save loop was cut, and the game became one run: the van in the sinkhole, the store at dark, play as any of the cast.
- Content, weeks 3–4 (~155). The cast modeled and rigged, being caught and swallowed, tools (shovel, chainsaw, dynamite, rifle), a second creature at sundown, road and utility crews with their machines (bucket truck, bulldozer, semi). Bots play each character's route through the level as automated tests.
- Feel and polish, week 4 (~220, the busiest). Hands on props, followers that walk your trail and climb your rock, real recorded gunshots and chainsaw, shooting balance, an ambushed demo mode.
- Trailer and performance, weeks 5–6 (~90). The score and capture mode; then a locked 30 fps on an Intel iGPU and 60 on a desktop GPU, getting it to load on an iPhone's Safari (GPU memory from 650 MB down to ~220), and a co-op desync hunt.
Play it: https://playharmony.ai/share/6ed50d48/Dont-Touch-the-Dirt



