Open-world game built with Claude in 2 weeks: 21k lines, one HTML file under 1 MB
N7ShepardChronicles · reddit · 2026-12-05
A Redditor built Pelagos, an open-world sailing game set in an endless Adriatic-style archipelago, using Fable 5.2 in Claude Code over two weeks. It's free to play in the browser with multiplayer.
What was built
- 21,000 lines of JavaScript + WGSL on raw WebGPU, no engine, no 3D library
- Entire game is one HTML file under 1 MB with no image/model/audio assets — even the music is generated in code
- Seeded world, seven vehicles, multiplayer on a 550-line Lua server
Where Claude excelled
- Tested its own work: ran the game, placed the camera, compared before/after frames
- Built an in-game benchmark; frame-time tables revealed a plain stone pier used the heaviest shader
- Tuned sound by measuring recordings of real things and measuring its own output the same way
- Kept a notes file of rules and lessons carried across sessions
Where it failed
- Guessed fixes without reproducing bugs first
- Added unrequested changes; one jet-ski physics "improvement" had to be fully reverted
- Can't judge motion or sound — that stayed the human's job
The author also released WASD Launcher, an open-source Windows launcher using 25% less memory than Chrome for the same game.
More from coding & agent
- Cohere Team to Host NeurIPS Panel on Shipping Frontier Research into Regulated Industries — Julianfmack · 2026-12-06
- Agentic commerce in action: snap a QR code and your agent pays for parking and donations — jeff_weinstein · 2026-12-06
- Voice agent dev: even fastest LLM API leaves laggy responses, users hang up — FalseSort5750 · 2026-12-06
- Liquid Glass UI: open-source WebGL2 React components that bend the page — GCWebDesigner · 2026-12-06
- OpenCode's Tinsel Alpha goes free: 1M-context multimodal coding model, rumored to be Muse Spark 1.4 underneath — talkaboutdesign · 2026-12-06
- Solo dev builds multiplayer bowling game with Gemini Neon, Meshy, Suno and one-shot Netlify agents — thisiskp_ · 2026-12-06