PROMPT: a voxel tower defense game that plays itself, from one Claude prompt
The exact prompt from the Reel: Claude builds a voxel tower defense game in a single HTML file, and it plays itself. Change the first line to defend any landmark, city or place.
Step 1: Copy the exact prompt
This is the same prompt we gave all four models in the Reel, word for word:
DEFEND: the Statue of Liberty on Liberty Island, New York
(Change only the line above. Any landmark, city or place works.)
Build a single HTML file (Three.js from a CDN, no other assets) with a voxel tower defense game that plays itself. Everything is made only from cubes.
The map: DEFEND stands in the middle of a floating island, built so it's recognizable at a glance, with its real surroundings around it. Cartoon blocky invaders that fit the place (pirate ships, robots, monsters) come in waves along winding paths from the edges of the map, over water if the place is by water. If they reach DEFEND, it loses health.
It plays itself: an AI player earns gold, places and upgrades different towers (cannon, archer, frost) along the paths, and the towers fire on their own. Each wave is bigger than the last, and a boss arrives on the final wave. Show hits, explosions and coins popping.
Camera: a slow orbit around the island that sometimes swoops in close to the action. Add a HUD with the wave number, gold, DEFEND's health and enemies defeated.Step 2: Change only the first line
Swap the words after DEFEND: for the place you want to defend. Leave the rest as it is. For example:
DEFEND: the Eiffel Tower in ParisDEFEND: Big Ben and the Houses of Parliament in LondonDEFEND: the main square of [your town, your country]
Step 3: Paste it into Claude and open the game
- Paste the prompt into Claude.
- When Claude gives you the HTML file, save it (for example
game.html) and open it in your browser. If it works, the game starts and plays by itself.
What the 4 models made (our run, Nov 24, 2026)
We ran this exact prompt once on each model in Claude Code, with no follow-up. The only fix was one line in Haiku's file (see the table):
| Model | Price | Time | Result |
|---|---|---|---|
| Haiku 5.5 | $0.07 | 6m 29s | Worked after one fix: its first try used a wrong link for the 3D library, so only the sky and the HUD showed up. We changed that one line only (the version number in the link) |
| Sonnet 5.5 | $1.07 | 7m 55s | Worked: the statue, buildings and pirate-ship waves |
| Opus 5.5 | $5.01 | 19m 31s | Worked: cleared wave 1, close-ups of ships and cannon towers |
| Fable 5.2 | $6.75 | 17m 59s | Worked: the most detailed (the torch, Manhattan, a bridge, a river path) |
Price is an API price estimate, not what we were charged: we ran it on a Claude subscription, then multiplied each run's tokens by Anthropic's API list prices. Time is the real time each run took.
Honest notes
- Every run is different. The same prompt can give a different game each time, and sometimes a broken one.
- Which models you can pick, and how much a run costs, depend on your Claude plan.
- Keep it to landmarks and places. Don't ask for real brand logos or characters from existing games.
Made for Instagram Reels. We test Claude experiments every week: @theoautomates