Horizontal

All prompts

RacingFull librarydrivingdrifttime trial

Night Loop

Three laps of a wet night circuit against your own ghost. Hold drifts to fill the boost bar; touch a wall and the drift is gone.

Night Loop: a picture of the playable demo built from this promptPlay the demo

What the prompt builds

  • Hand written arcade car handling
  • A ghost of your best lap
  • Wet road reflections and skid marks that stay
  • Engine and tyre sound made in code

Tested with Claude Code (Claude Opus 5.5) on 17 November 2026. The demo is what it built, hosted here with Three.js served from this site.

The prompt

Full library
Build a small 3D browser game called **Night Loop**: arcade drifting around a neon city circuit at night.

## The game

- One closed street circuit through a low poly city at night, with a long straight, a hairpin, a chicane and a sweeping bend along a waterfront.
- The player drives a small boxy coupe against the clock: three laps, with a ghost of the best lap (kept in localStorage) to race.
- Drifting through corners fills a boost bar; holding a drift longer scores more. Hitting a wall cancels the drift score and scrubs speed.
- After three laps: lap times, best drift, total score, and "Race again".

This is the first part of the prompt. The rest (controls, look, feel and the tech rules that make it run well) is in the full library.

The full library is not open yet

9 more prompts like this one, each with its demo. Leave your address and we will write once, when it opens. The 3 free prompts stay free.

How to use it

  1. Open an empty folder in Claude Code, Cursor, Codex or another coding agent that can write files.
  2. Paste the whole prompt and let the agent work until it says it is done.
  3. Open index.html through a local server (for example npx serve) and play. Ask for changes in plain words.

More prompts