3D arcade / stunt racer
Endless Flying-Car Stunt Run With Combo Scoring
The Prompt
Build an endless 3D flying-car stunt game in ONE self-contained HTML file (inline CSS/JS). Three.js via a single pinned CDN import is the only library allowed; no external models, textures or audio files. The entire world is procedural geometry and code-generated colour. No start screen: the car is moving when the page loads. Core loop: - A hovering car drives along an endless strip of sky-lanes suspended above a cloud layer. The strip is generated in chunks ahead of the car and recycled behind it; never build the whole track. - Ramps, gaps, moving hazard blocks and boost rings are placed by a seeded chunk generator. Guarantee at least one survivable line through every chunk and test that with a headless solver. - Boost is a resource, not a free button: it drains while held, refills from rings, and raises both speed and jump height. Players should feel the trade-off between boosting into a ramp and saving it for a gap. Trick and combo system: - Leaving a ramp enters an AIR state. Rotation is controlled by steering input in the air; the landing angle is compared to the road normal. - Score three things separately: air time, rotation amount and landing quality. A clean landing keeps speed and extends the combo; a bad landing cuts speed and resets the combo. Never end a run on a single bad landing unless the car actually falls. - Trigger slow motion (0.35x for 0.9s) only on jumps above a height threshold, and never during input that would change the outcome — slow motion is a reward camera, not a difficulty spike. - Record the last 12 seconds of position and rotation and play it back as a chase-camera replay on the end screen. The replay is the retention hook. Feel and feedback: - Camera: low chase cam that widens field of view with speed, plus a small look-ahead into the next ramp. Add 1.5 degrees of roll on turns and return to level with easing. - Screen feedback: speed lines at high velocity, a combo meter that pulses on extension, a landing shockwave ring, and a short chromatic aberration flash on a perfect landing. Cap shake at 2px. - Palette: one cool sky ramp, one hot accent for boost and one warning colour for hazards. No more. Platform and controls: - Desktop: arrow keys or WASD to steer, hold Shift or Space to boost, a trick key to start rotation in the air. Gamepad support with the same mapping. - Mobile: drag anywhere to steer, with boost and trick as large thumb buttons; safe-area padding and touch-action none. Portrait and landscape both playable. - Respect prefers-reduced-motion by disabling speed lines, camera roll and slow motion while keeping scoring identical. Performance and testing: - Target 60fps on a mid-range phone: pooled chunks, instanced road segments, no per-frame allocation, and a hard cap of 12 draw calls per chunk. - Run a headless simulation of 30 runs with random input and report: chunks with no survivable line, average combo length, deaths caused by an unavoidable gap, and the frame-time p95. Deliver in stages: drivable car first, then chunk generation, then ramps and gaps, then tricks and landing scoring, then slow motion and replay. Print the scoring table and the chunk-solvability report at the end.
What This Prompt Produces
SKYHOP is the reference: an endless sky strip, boost rings, slow-motion big air and an end-of-run replay, built with Claude Opus 5.5 in Claude Code after twelve demo nights of iteration. The replay is what makes a one-minute run worth repeating.
Modification Tips
- Generate track in chunks and prove every chunk has a survivable line. An endless runner that spawns an impossible gap is a bug, not difficulty.
- Score the landing separately from the rotation. Players need to understand why a trick failed before they can improve it.
- Use slow motion as a reward camera, not a punishment. Pausing time during a moment that still requires input feels like lag.
- Record a short replay buffer from the first playable build. It is the cheapest retention feature in an arcade game.
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.