| Agent stack | Verdict | Wall time | Output tokens | Reported cost | Artifact |
|---|---|---|---|---|---|
|
Antigravity CLI + Gemini 3.7 Flash
gemini-3.7-flash ยท effort medium ยท version not recorded
|
Ship | 102.2s | 25,734 | unknown | 71,650 B |
|
Antigravity CLI + Gemini 3.8 Flash
gemini-3.8-flash-medium ยท effort medium ยท version not recorded
|
Ship | 292.3s | 87,460 | unknown | 76,152 B |
|
Codex CLI + GPT-5.6 Luna
gpt-5.6-luna ยท reasoning medium ยท version not recorded
|
Ship | 522.0s | 26,036 | unknown | 25,465 B |
|
Claude Code + Claude Sonnet 5
claude-sonnet-5 ยท default effort ยท version not recorded
|
No-ship: freezes | 578.0s | 62,317 | $0.74 | 72,388 B |
Wall time is measured around the CLI call. Tokens and cost are read from each CLI's own JSON log. Claude Code reports a list-price cost (total_cost_usd); Codex CLI and Antigravity CLI report tokens only, so their cost is unknown rather than estimated. Verdicts are manual review against the spec, not an automated test suite.
| Agent stack | Input tokens | Cached / cache-read | Output tokens | Of which thinking |
|---|---|---|---|---|
| Antigravity + Gemini 3.7 Flash | 30,480 | 0 | 25,734 | 2,101 |
| Antigravity + Gemini 3.8 Flash | 104,742 | 290,283 | 87,460 | 6,691 |
| Codex CLI + GPT-5.6 Luna | 451,139 | 398,592 | 26,036 | 1,266 |
| Claude Code + Claude Sonnet 5 | 4 + 26,391 cache write | 45,040 | 62,317 | 26,003 |
Each CLI counts tokens its own way, so compare within a column with care. Codex CLI counts cached input inside its input total.
| Agent stack | Lines (wc -l) | Console errors on load | Responsive 40s after start | Dependencies |
|---|---|---|---|---|
| Antigravity + Gemini 3.7 Flash | 2,071 | 0 | Yes | Three.js CDN |
| Antigravity + Gemini 3.8 Flash | 2,221 | 0 | Yes | Three.js CDN |
| Codex CLI + GPT-5.6 Luna | 71 (dense lines) | 0 | Yes | Three.js CDN |
| Claude Code + Claude Sonnet 5 | 1,842 | 0 | No: hangs ~10s in, 2 of 2 tries | Three.js CDN |
When we first published this benchmark on Sep 3, 2026, the playable Claude Code game on this page and in the battle video was a copy with one line removed. We did not disclose that. On Oct 31, 2026 we compared the published file with the original agent output and found the difference.
The removed line sits in the AI kart steering code: while(diff<-Math.PI) diff -= -Math.PI*2>0?0:0;. The right-hand side is always 0, so once a rival kart turns hard enough the loop never ends and the tab freezes. In headless Chrome the unedited game stopped responding about 10 seconds after the start, in 2 of 2 tries. The other three kart games stayed responsive for the full 40-second check.
The page now serves the unedited output as the Claude Code build. The patched copy stays available and is labelled as patched. The original will freeze your tab, so use the patched copy to see the rest of the game.
Notes from manual play, one run per stack. Not a reliability claim. See the methodology and the cross-benchmark comparison.
Sent verbatim to each agent CLI as its only input. Task version v0, frozen.
You are an expert Three.js game engineer. Build a complete, polished, bug-free, self-contained 3D Arcade Kart Racing game in a single standalone `index.html` file.
Zero external assets (no images, GLTF models, audio files, or CSS frameworks). Three.js must be loaded from a public CDN (e.g. `https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js`). All 3D models (karts, track, trees, arches, items) must be constructed procedurally using Three.js geometries and materials.
### Requirements:
1. 3D Race Track & Environment:
- Closed-loop circuit with straights, sweeping curves, chicanes, and elevation changes or banked turns.
- Distinct asphalt road surface, red-and-white alternating curb borders, and a 3D Start/Finish gantry arch with a checkered banner texture generated on canvas.
- Surrounding environment: Low-poly terrain, decorative trees, tire barriers, and spectator stands or neon banners.
- Proper lighting: Ambient lighting + Directional light with soft shadows enabled.
2. Kart Modeling & Arcade Physics:
- Build procedural low-poly karts (chassis, 4 spinning wheels, spoiler, driver helmet/steering wheel).
- Responsive arcade driving physics: Acceleration, maximum top speed, coasting friction, reverse, and proportional steering.
- Drift Mechanic: Pressing Spacebar or Shift while turning initiates a drift. Drifting tightens the turn radius, emits tire smoke particles from rear wheels, and triggers a mini-turbo boost when released after a long drift.
- Collision response: Hitting track barriers bounces the kart and reduces speed.
3. AI Opponent Racers:
- Include 2 AI rival karts with distinct colored chassis (e.g., Red for Player, Blue and Yellow for AI rivals).
- AI karts navigate track waypoints intelligently with smooth steering, dynamic speed adjustments, and basic obstacle avoidance.
4. Race System, HUD & Timing:
- 3-Lap Grand Prix race structure.
- Race Start countdown: 3 -> 2 -> 1 -> GO! (player and AI cannot move until GO).
- Floating UI Overlay HUD displaying:
- Current Position: 1st / 2nd / 3rd (calculated dynamically based on track progression and lap count).
- Lap Counter: Current Lap / 3.
- Live Lap Timer and Best Lap record.
- Digital / Analog Speedometer (km/h or MPH).
- Mini-map radar showing player and AI positions on the circuit.
5. Boost Pads & Collectible Power-ups:
- Glowing neon Boost Pads placed on track that give an immediate 2-second Nitro boost with speed lines or camera FOV surge.
- Collectible rotating 3D Item Boxes on track granting power-ups (e.g., Nitro Boost, Homing Missile, or Banana Trap).
6. Audio Synthesis (Zero External Files):
- Real-time procedural sound effects synthesized via Web Audio API:
- Dynamic engine acceleration sound (pitch scales with kart speed).
- Tire screeching sound during drifts.
- Boost pad activation chime.
- Race finish victory fanfare.
- Master Mute / Unmute sound toggle button.
7. Camera System & Mobile/Keyboard Controls:
- Third-person smooth chase camera following behind the player kart with subtle banking tilt and velocity lag.
- Controls: Arrow keys / WASD for driving + Spacebar for drift/item. Include on-screen virtual touch buttons for mobile/tablet play.
8. Complete State Flow:
- Title / Start Screen ("Press Start Race") -> 3-2-1 Countdown -> Active Race -> Finish / Podium Result Screen with Lap Breakdown -> Restart Race button.