Claude Code built a real-time browser city destruction demo with 240 unit tests

smith2008 · reddit · 2026-10-22

A developer shows Breakable.js, an open-source destruction library for Three.js/WebGPU built mostly by Claude Code (Opus), with a playable demo of six explodable worlds: GPU physics, buildings that collapse when supports are destroyed, destructible cars and terrain. Claude Code wrote 240 unit tests, ran the game in Chrome taking screenshots and checking performance, used multiple parallel agents with review agents for bigger features, and built the entire asset pipeline with GPT Image, Stable Audio, image-to-3D models, and Blender scripts. MIT-licensed; demo needs WebGPU on desktop Chrome/Edge.

Original post →

More from coding & agent

coding & agent channel →