Build a polished, playable browser game: Racees on a car. Make the core loop fun within…
- User
Build a polished, playable browser game: Racees on a car. Make the core loop fun within the first ten seconds, with tight controls for both keyboard and touch, and juicy feedback — screen shake, particle effects, and satisfying animations. Include a start screen, a score system, pause and game-over states with instant restart, and a local high-score table. Style it with a cohesive visual theme and make sure it runs smoothly at 60fps on desktop and mobile.
Assistant
- User
Make levels
Assistant
- User
Show the map of the road
Assistant
I'll add a live road map — a radar strip on the side of the screen showing the road ahead: traffic, coins, your position, and the finish line. In campaign it maps the whole level; in Endless it's a radar window looking up-road. To make the map genuinely useful, traffic and coins will now spawn further ahead so the map gives real lookahead.
Now the minimap rendering method itself.
Engine's clean. Now a small decorative road-map strip on each level card so the map theme carries into the level select screen.
- User
My road is not finishing
Assistant
Let me investigate — first I'll verify the finish-line logic is correctly wired in the engine.
The finish logic is correctly wired (line 595: crossing
lv.goaltriggersfinishLevel). So the road finish in Campaign — the likely problem is that , and nothing in-game tells you which mode you're in. Also, campaign goals are long and there's no warning as the finish approaches. I'll fix all three:- User
Make the first level 2000
Assistant
Done — First Light is now a 2,000-meter run (~45-50 seconds of driving). Everything scales automatically:
- Level card shows 2,000m, and the HUD progress bar counts up to
2,000M - The checkered finish line, minimap flag, and "FINISH AHEAD!" cue (at 1,700m) all use the new goal
- Star thresholds recalculated: 2★ at 2,000 pts · 3★ at 2,800 pts — so you'll want to chain near-misses and hoover up coin lines, not just survive
Build is clean. Good luck on the opening stretch.
Files built:
src/game/levels.ts- Level card shows 2,000m, and the HUD progress bar counts up to
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.