Top-down racing: track, rival AI and timed laps

Track with collisions, optional drift, minimap and time trial. Rivals can follow waypoints with simple steering. Cerewro iterates car feel.

Top-down racing: track, rival AI and timed laps

Track with collisions, optional drift, minimap and time trial. Rivals can follow waypoints with simple steering. Cerewro iterates car feel.

Ready-to-use Cerewro prompt

Cerewro Chat — HTML5 (browser on Windows)
Generate a top-down racing game for Windows with these specifications.

Features: closed circuit (inner/outer polygon or segments); player car W/S accel/brake, A/D steer; simple physics: max speed, friction, drift lowers traction; 3 timed laps; 3 AI rivals on waypoints with steering; minimap; wall collisions sap speed; finish line with order.

Rules: ranking by time; optional lap reset.

Tech: HTML5, Canvas 2D, ES6+ JavaScript; single index.html.

Windows: Edge or Chrome.

Optional: Pygame build with equivalent physics and fullscreen.
Cerewro Chat — Python 3 (Windows desktop)
Build the same racing game as a Windows desktop app.

Features: Pygame 2; same vector circuit; rival AI; HUD for position and lap; best time save.

Tech: Python 3.10+; main.py; requirements.txt.

Run: python main.py after venv.

Include: car color pick and arrow-key alt controls.

How to get the most out of it

  • Ask for variable-radius corners so drifting matters.
  • If AI gets stuck, ask for soft car-to-car repulsion.