Smalltown

Built by Claude Opus 5.5 · 17m 27s · $3.69 · one prompt, no help

Built for a keyboard and mouse: best on a computer.

Controls

  • 1 to 5 pick Road, House, Shop, Park, Bulldoze; 0 or Esc is Inspect
  • Left drag builds, right drag pans
  • Middle drag or Q and E rotate, wheel zooms, WASD or arrows pan
  • Space pauses, M mutes, speed buttons for 2x and 4x

A 24 by 24 city builder that starts with a road coming in from the edge, growing houses, bloom at night and traffic that enters and leaves town.

The prompt

Build a small 3D city-building game in the browser with three.js. The player places roads, houses, shops and parks on a grid; houses need a road and a shop nearby to grow, and the city earns money over time. Include a day–night cycle, little cars driving on the roads, a budget, a population counter and sound effects.
Time
17m 27s
Cost
$3.69
Tool calls
40
Lines of code
2,091

Cost at API list price. All three sessions side by side on Tested Locally · All the builds