DEV STORYעברית

ASTRO RESCUE: ZERO-G

A complete 3D platformer in the spirit of Astro Bot - three stages, enemies, a multi-phase boss and procedural audio - built in one session by a lead AI architect and five parallel builder agents.

▶ Play the game

The game in action

Gallery

Game screenshot 1 Game screenshot 2 Game screenshot 3 Game screenshot 4 Game screenshot 5 Game screenshot 6 Game screenshot 7 Game screenshot 8 Game screenshot 9

Swipe sideways or use the arrows

The numbers

$18.54
total cost
3h 21m
wall-clock time
1h 45m
API time
13,097
lines added (13 removed)

Where the money went

ModelRoleOutput tokensCost
claude-opus-5-5Lead architect199.5k$11.41
claude-sonnet-5-5Builder agents404.1k$7.13
claude-haiku-5-5Small helper tasks460$0.0007
Opus 62% · Sonnet 38% of the bill

Prompt cache: 97 requests, 99% of input tokens served from cache with no misses. Opus read 24.4m cached tokens and Sonnet 3.4m, which is what kept a 3-hour session under $20.

How it was built

  1. One prompt. A single brief: a finished game from splash screen to victory credits, not a prototype. Three.js + TypeScript, Rapier physics, Web Audio synthesis, an ECS-style modular architecture.
  2. Contracts first. Opus 5.5 acted as Lead Systems Architect and wrote the interfaces between systems before any feature code existed.
  3. Five builders in parallel. Sonnet 5.5 agents each owned one module: audio, UI, player, enemies, levels. Contracts let them work at the same time without stepping on each other.
  4. Integration. Opus wired the modules together, fixed seams, and made the state flow work end to end: Title, Playing, Paused, Level Complete, Game Over, Victory.

The game

Stage 1 - Sky High Haven. The opening level. Run, jump, hover and rescue VIP bots.
Stage 2 - Hazard Factory. The second level, built around hazards and enemies.
Stage 3 - Colossus Core. The final level, ending in the multi-phase boss fight against MECHA-KRAKEN.

Progress and rescued bots are saved locally in the browser. Every sound and music loop is synthesized live, with no audio files.

The session, raw

Session
Total cost:            $18.54
Total duration (API):  1h 45m 42s
Total duration (wall): 3h 21m 36s
Total code changes:    13097 lines added, 13 lines removed
Usage by model:
  claude-haiku-5-5:  5.1k input, 460 output          ($0.0007)
  claude-opus-5-5:   1.2k input, 199.5k output,
                     24.4m cache read, 317.3k write  ($11.41)
  claude-sonnet-5-5: 74 input, 404.1k output,
                     3.4m cache read, 963.8k write   ($7.13)
Prompt cache: 97 requests, 99% from cache, no misses

▶ Play ASTRO RESCUE: ZERO-G