An experiment by Aleksandar Perisic

One brief.
Four AI tools.
Four different games.

Elon Musk showed a Tesla Roadster that hovers on thrusters, so I wrote a product brief for a pixel-art stunt game about one — suction fans that pin the car to any surface, cold-gas nozzles that flip it, finite air — and handed the identical brief to four AI coding tools: Claude, Replit, Bolt and Lovable.

All four shipped something playable. Not one of them built it the same way. Every build is playable right here, in the browser, and you can jump back to this page from any of them.

The roadster hanging upside down at the top of the inversion loop, pixel-art night scene.
1brief, written once and handed over unchanged
4tools: Claude, Replit, Bolt, Lovable
3 of 4independently shipped a single HTML file
8×between the smallest and largest build, 113 KB to 909 KB

What they were asked for

Convergence only means something if you know what the instructions actually constrained. All four got the same 4,800-word brief, pasted as a single message with no follow-ups and no hints. These were the parts that bound them.

  • One self-contained HTML file. All CSS and JavaScript inline. No build step, no bundler, no framework. Three.js r160 as an ES module from a CDN, and no other runtime dependency.
  • Deterministic physics. A pure step(state, inputMask) advanced at a fixed 1/120 s, no randomness, no dependence on frame rate — which is what makes replays exact.
  • The vehicle. Four ducted suction fans that only grip on a surface, ten cold-gas nozzles off one finite tank, and thrust that fades as pressure drops. Suction fights lift.
  • Five stages. A systems-check tutorial, an inversion ramp, a five-car kickflip, a 0-60 launch and a free practice mode, each ending on a graded results card.
  • Pixel art from a real 3D scene. Render low-res, then outlines, Bayer dither and a 32-colour palette.
  • Prove it works, unattended. Ship a Playwright script that plays all five stages headlessly, and keep iterating until the acceptance checklist passes. No questions would be answered.

Nothing in there asked for React, a database or an API server. Three tools generated some of that anyway, then declined to use it.

The four builds

Same brief, same day, four tools. Pick one and play — a control at the top of every build brings you back here.

The Claude build: roadster on the launch pad with the mission checklist HUD.

Claude Claude Code

Went furthest. One hand-written HTML file, no framework, no bundler. The only build that kept growing after the brief was met: ghost racing, hidden Mars and desert stages, a semi truck mode, an autopilot for recording.

  • Shape one index.html, 263 KB
  • Build minify only
  • three.js jsDelivr CDN
  • Extras 5 stages + 4 hidden modes
The Replit build: roadster mid-stunt in a night-time arena.

Replit Replit Agent

The leanest deliverable and the strangest repo. It generated a pnpm monorepo with an Express API server, a Postgres schema, a codegen pipeline and a React sandbox — then wrote the whole game as one static file and used none of it.

It also shipped the subtlest bug of the four. Its screen-transition overlay parks three skewed bars just off-stage, except the widest one is 90% wide at an 80% offset, so it rests over the left tenth of the screen in a near-background black — which reads as a cropped title rather than a stray bar. One CSS line fixes it, and this build is patched.

  • Shape one index.html, 113 KB
  • Build none at all
  • three.js jsDelivr CDN
  • Unused Express, Postgres, orval
The Bolt build: roadster lined up for the five-car kickflip.

Bolt bolt.new

Same instinct as Replit, different leftovers. It declared React, Tailwind and Supabase, then put the entire game in one inline script — its src/ folder contains a single type-definition file. Needs Vite to run at all.

  • Shape inline script, 135 KB source
  • Build Vite → 554 KB bundle
  • three.js bundled from npm
  • Unused Supabase, React, Tailwind
The Lovable build: roadster on the ramp with the React HUD overlay.

Lovable lovable.dev

The only one that wrote software. Physics split from rendering across real TypeScript modules, with a unit-test suite. It is also the only one that broke the brief — its own notes call it a “platform deviation.”

  • Shape 3,389 lines of TypeScript
  • Build TanStack Start + Nitro
  • three.js bundled from npm
  • Tests vitest suite

Five hidden modes

The Claude build kept going after the brief was met. None of these appear in its menu — they only exist on a URL, they keep no scores and send no analytics, and they combine freely. Click any of them and you are straight in.

They stack, and adding &auto to any of them hands that mode to the autopilot. ?semi&desert&auto flies a truck reel off the big ramp with an airborne jackknife; ?mars&auto tumbles 510 m with four backflips and two kickflips.

What actually happened

I expected four variations on one architecture. What I got was a split: three tools quietly threw away their own scaffolding, and the one that behaved like a real engineer was the only one that couldn't follow the spec.

Three of four converged on one file

Claude, Replit and Bolt all independently decided a 3D browser game should be a single HTML document with an inline script. Nobody told them to agree.

Scaffolding that never got used

Replit built an Express API, a Postgres schema and a React sandbox it never imported. Bolt installed Supabase and never called it. Both shipped the game as one static page anyway.

“API server, mockup sandbox and shared libraries are unused starter packages.”

— Replit, in its own replit.md

Good engineering, wrong answer

Lovable separated simulation from rendering and wrote tests — genuinely the best code of the four. It also ignored the single-file requirement to do it, and needs a full build to run.

“Platform deviation: built inside a TanStack Start app instead of a single index.html.”

— Lovable, in its own NOTES.md

This is not a model comparison

Bolt and Lovable both run Claude models under their own harness — Bolt's own About page says so. So the differences below are not one AI being smarter than another. They are what each tool's scaffolding, defaults and house style do to the same instructions.

Side by side

Measured from the four repositories as exported, not from memory.

 ClaudeReplitBoltLovable
Shape One HTML fileOne HTML fileOne inline scriptTS modules + React
Build step Minify onlyNoneViteTanStack Start + Nitro
Ships to static host YesYesAfter a buildOnly once prerendered
three.js CDNCDNnpm, bundlednpm, bundled
JS delivered 263 KB inline113 KB inline554 KB909 KB
Dependencies at runtime 00React + threeReact + Router + Query + three
Unused scaffolding NoneExpress, Postgres, orvalSupabase, TailwindNone
Automated tests Headless playthroughSim + headless playerSim + headless playervitest unit suite
Followed the single-file brief YesYesYesNo, by its own admission
Shipped free of visual bugs YesNo, overlay left on screenYesYes

What I took from it

Four tools, one brief, and the useful conclusion is not a ranking. It is that the harness decides more than you would expect, and that an explicit constraint is the thing most likely to get quietly dropped.

Constraints need restating

The single-file rule was in the brief, and the tool with the strongest engineering instincts was the one that overrode it. If a constraint fights the tool's default stack, expect the stack to win unless you keep saying otherwise.

Defaults arrive uninvited

Nobody asked for Postgres, Express or Supabase. Two tools provisioned them anyway because that is what their starter template does, then wrote the real work somewhere else entirely.

Finishing is its own skill

All four reached “playable” quickly. The gap opened afterwards: only one kept going past the brief into ghost racing, hidden stages and a recording autopilot, which is where a demo turns into something worth sharing.

Buy the source: the brief and all four builds

Everything above came out of one document. If you want to run the experiment yourself — against these four tools, or whichever ones exist by the time you read this — the brief and every result are packaged together.

What's in it

  • The brief — 4,800 words, the full specification, exactly as it was pasted
  • The bake-off protocol — identical conditions, a pass/fail gate and a 100-point score sheet
  • All four builds, complete source — Claude, Replit, Bolt and Lovable, with their own notes and test harnesses
  • All four games ready to play — unzip, double-click, play. No toolchain
  • Build and run instructions for each, plus an AGENTS.md so Claude Code, Codex or Cursor can keep developing any of them

Use it, learn from it, modify it, and ship your own game with it, commercially. One seat per person.

$9one-time · instant download
Buy the source →

Instant download, so all sales are final. Outputs vary by model and no specific result is guaranteed — the brief is the artefact, not a promise.