Claude Builds a Single-File Browser Game
Savings_Dinner_9900 · reddit · 2026-07-12
Using Claude, the author recreated their childhood PS2 game Downhill Domination as a free browser tribute.
Key Features
- The project is a single HTML file with no separate asset files; 3D models, textures, and sound effects are all generated by code at runtime.
- Players race against 5 AI riders on procedurally generated mountain tracks: aerial stunts build up boosts, boxing can knock opponents off their bikes, and enemies will fight back.
- The game supports both desktop and mobile browsers, features no ads and no accounts, and generates a new mountain map daily.
Claude's Role
- It didn't just write code; it helped with testing by setting up a scriptable testing API.
- Before delivery, Claude automatically playtested the game in a headless browser.
- That same interface was later used to create a trailer, with Claude orchestrating highlight shots via frame-by-frame control of the gameplay.
More from coding & agent
- An MCP server signs every AI agent tool call into a verifiable Merkle chain — Funky_Chicken_22 · 2026-07-22
- Annotated transcript of a Claude Code team interview is now available — trq212 · 2026-07-22
- Claude Code skill uses 10 Markdown rules to make outputs ADHD-friendly — alex_verem · 2026-07-22
- A Firecracker-based platform says it can host 6,000 AI agents on one 256 GB server — maritime_sh · 2026-07-22
- A better path to agent autonomy is running waves, finding friction, and iterating — JnBrymn · 2026-07-22
- AI agent designers map the visual and tonal cues behind companionship products — Unlikely-Platform-47 · 2026-07-22