Racing / 3D arcade
3D Kart Racer With Drift-to-Wind Boost and Online Rooms
Tested with Claude · produced TINPLATE 3D Kart Racing: Kitchen Grand Prix
The Prompt
Build a 3D kart racing game in ONE self-contained HTML file (inline CSS/JS). Three.js from one pinned CDN import is the only library; every model, texture and sound is procedural. No external image, model or audio assets. Theme and scope: - Pick one strong, specific toy-scale theme: 1950s wind-up tin toys racing across a giant mid-century kitchen. The theme must drive the mechanics, not just the paint. - Six racers: a robot, a rabbit, a duck, a bear, a monkey and a cat, each a low-poly wind-up tin toy with a visible key on its back that spins while driving. - Three tracks through the same kitchen: a breakfast table spiral, a sink crossing on a tin bridge, a percolator U-turn, a windowsill straight and a balcony hairpin. Support reverse runs of every track. - Warm, sun-drenched lighting with baked-looking soft shadows; bright lithographed tin colours; readable track edges at 360px width. Driving model: - Arcade handling, not simulation. Top speed, acceleration and steering are constants in one tuning block at the top of the file. - Drift-to-wind boost is the core skill: hold drift through a corner to wind the clockwork key through three stages (blue, orange, violet), then release for a boost scaled to the stage reached. Drifting too long overheats the key and cancels the boost. - Rocket start: holding accelerate at exactly the right moment on the countdown gives a short launch boost. Wrong timing gives wheelspin. - Items from sugar cubes: springs (bounce forward), marbles (drop behind), butter pats (slick patch) and the golden key (a short invulnerable burst). Items must have a clear visual tell and a cooldown. Race structure: - Three speed classes with genuinely different top speeds, not just multipliers on the same curve. Report the lap-time spread between them. - Four-race Kitchen Cup: points per finish, a leaderboard time for the fastest full Cup, and a results screen that shows the gap to first. - Up to six racers. Online rooms by code and quick match, with CPU racers filling empty seats and latecomers joining the next race. Never block a race waiting for a lobby to fill. - CPU drivers must use the drift system, defend a line and recover from spins. No rubber-banding beyond a small, documented catch-up cap. Controls and platform: - Desktop: Up/W accelerate, Down/S brake, Left/Right steer, hold Space or Shift to drift, X or E for items, Esc for the menu. - Mobile: drag on the left to steer, with accelerate, brake, drift and item buttons on the right, sized for thumbs and safe areas. - Support gamepad for steering and accelerate. Pause when the tab loses focus. Rendering and performance: - Target 60fps on a mid-range phone. Use instanced meshes for repeated scenery, low-poly karts, and a single directional light plus baked vertex colours instead of real-time shadows on mobile. - Keep the draw-call count under 150 and report it alongside the frame-time p95 at 720p. - Add a live 1950s rock and roll soundtrack generated with WebAudio, with a mute toggle and a music switch in the menu. Testing and delivery: - Run 200 headless AI-vs-AI races per speed class and report: average finish spread, share of races won from pole, how often the drift boost is used, and any track where a wall-riding exploit beats clean driving. - Fail the build if any kart can cut a corner by more than one second or if a track has no valid line at the slowest speed class. Deliver in stages: one kart and one track with handling first, then drift and boost, then items, then all tracks, then the Cup, then online rooms and CPU drivers. Print the tuning table and the race report at the end.
What This Prompt Produces
TINPLATE is the reference: six wind-up tin toys, three kitchen tracks plus reverse runs, a three-stage clockwork drift boost, sugar-cube items and six-player online rooms, built with Claude Opus 5.5 and Claude Code. The theme is what keeps a small kart racer coherent — the key on the kart's back is the boost meter.
Modification Tips
- Tie one mechanic to the theme. "Drift winds the key" is memorable; "drift fills a bar" is not.
- Give drifting a failure state. Overheating the key turns a greedy corner into a real risk instead of a free boost.
- Never block a race on a lobby. Fill with CPU racers immediately and let latecomers join the next one.
- Report corner-cutting exploits. In a kart game, one wall-ride shortcut can invalidate every leaderboard time.
The Game This Prompt Produced
Want to try it? Open Claude, paste the prompt, and you'll have a playable game in minutes. When you're happy with the result, submit it to Daily AI Games.