Car Game Prompt: 8 Prompts for 3D Racing in ChatGPT
Car game prompts for a 3D browser racer with Three.js: time trial plus 7 variants (drift, parking, traffic, top-down 2D); works in ChatGPT, Claude, Gemini and Entrobase Builder.
Prompt
Fill in the fields below and the prompt updates instantly. Copy it and use it in any AI tool.
Build a low poly 3D car racing game called Hairpin that runs in the browser with Three.js.
Goalthe player finishes the track as fast as possible and tries to beat the best lap time.
Tracka coastal road at sunset with the sea on one side; a closed loop with barriers along the edges and 4 checkpoints (green gates).
Modetime trial, only the player on track.
Cara low poly sports car, main color #2f6bff; arrow keys or WASD for gas, brake and steering, space for the handbrake. Simple driving physics: turning radius grows with speed, hitting a barrier cuts speed.
Cameraa chase camera behind the car.
HUDspeedometer (km/h), lap 1/3, lap time, best lap, and a small track map with the car dot.
Phonesgas and brake in the bottom right, left and right buttons in the bottom left.
Endafter 3 laps a result card (total time, best lap, "Race again"); best times in localStorage.
Lookflat-colored low poly models, one directional sun light, light fog in the distance.
Contentshort interface copy; no real car brands, logos or names of existing games.
Design preview made from this prompt

7 more ready-to-use prompts
Different takes on the same topic. Copy any of them as is and replace the parts in square brackets.
1.Drift game prompt
When to use: When you want to score points by sliding.
Build a drift game with Three.js.
- Area
- a wide concrete lot with cones.
Drift points build while sliding; angle and duration raise the score.
Hitting a cone resets the built-up points.
Best score in localStorage; chase camera.
2.Car parking game prompt
When to use: When you want a skill game about tight parking.
Build a parking game with an angled top-down camera in Three.js.
Each level has a marked spot surrounded by parked cars.
Arrow keys for forward, reverse and steering; park inside the lines without touching anything.
5 levels, time and bump count.
3.Highway traffic game prompt
When to use: When you want an endless lane-switching drive.
Build a traffic game in the browser.
The player drives on a 4-lane highway; slower cars come ahead.
Left/right switch lanes, up speeds up.
- Score
- distance; a crash ends the run.
Low poly look, chase camera.
4.Top-down 2D racing game
When to use: When you want a simple 2D racer instead of 3D.
Build a top-down 2D racing game with Canvas.
- Track
- one loop, sand edges slow the car.
Arrow keys steer and accelerate.
3 laps, lap time and best lap.
Flat colors, thick road lines.
5.Race against AI cars (Claude)
When to use: When you want computer rivals.
- For Claude
- write a Three.js racing game against 3 AI cars that runs as an artifact.
Rivals follow waypoints at slightly different speeds.
HUD shows position (1/4), lap and time.
A standings table at the finish.
6.Kids car game for Gemini
When to use: When you want a gentle driving game for young kids.
Build a cute car game for kids in the browser.
The car drives forward on its own; the child only steers left and right.
Collect balloons on the road, no crash penalty.
Big buttons, pastel colors.
7.Publish the car game as a site
When to use: When you want the game on its own site.
Build a single-page website for a 3D car game called [game name].
- Sections
- top bar, game area (Three.js), controls, best times, a 4-question FAQ, footer.
- Game
- [track and mode].
- Design
- dark theme, main color [color], the game area fills most of the screen.
What this prompt does
If you want ChatGPT, Claude or Gemini to build a car game you can drive in the browser, the main prompt sets up a low poly 3D time trial in Three.js: three laps, checkpoints, a speedometer, lap times and a small track map. The 7 variants below cover drifting, parking, highway traffic, a top-down 2D racer, racing against AI cars, a kids driving game and a published game site.
Where to use it
- 3D car games in ChatGPT
- Racing games with Claude
- Three.js class projects
- A mini game for a car blog
Fields you can fill in
The fields you can change in the form above and their default values.
- Game nameFree text
- Hairpin
- TrackOne of 4 options
- a coastal road at sunset with the sea on one side
- ModeOne of 3 options
- time trial, only the player on track
- CameraOne of 3 options
- a chase camera behind the car
- Car colorColor
- #2f6bff
Step by step
- 1
Pick the track and mode
Coast, mountain, city or desert. Time trial is the most reliable first try; racing against rivals needs longer code.
- 2
Choose the camera
A chase camera feels easiest to drive. The cockpit view looks great but is harder to judge on phones.
- 3
Paste, drive, fix one thing
ChatGPT and Gemini preview it in Canvas, Claude as an artifact. If the car slides too much, ask to 'increase lateral friction'.
- 4
Publish it as a site
Use Prompt builds the same game as a Next.js site in Entrobase Builder.
Tips and variations
- Skip real car brands; 'low poly sports car' avoids trademark issues and heavy model files.
- Keep the 4 checkpoints line, or players can shortcut a lap.
- Write mph instead of km/h for a US audience.
- 'Shadows only on the car' noticeably raises frame rate on phones.
Frequently asked questions
Can ChatGPT make a car game?
Yes. It writes a single-file Three.js car game; with Canvas on you can drive it in the preview, otherwise open the saved file in a browser.
What makes a good 3D car game prompt?
Track, controls, simple driving physics rules, camera, HUD and end state. Without a camera and checkpoints the game is often unplayable.
Is there a car racing game prompt for phones?
The main prompt adds on-screen gas, brake and steering buttons and keeps models low poly, so it runs smoothly on recent phones.
Can I use a real car model?
Don't ask for branded cars or logos. If you own a .glb model, add 'load the car from this file' and check its license.
How do I put the game on my website?
Use Prompt builds and publishes it as a site in Entrobase Builder.
Sources
- Three.js manual: Creating a scene2026-11
- Three.js manual: Shadows2026-11
- MDN: KeyboardEvent2026-11





