Apex Line, racers that choose their lines out loud

The SDK track generator builds the road; each AI racer scores four candidate lines every stretch — apex, inside, outside, slipstream — against its own reward weights. A genuine tie goes to the engine as a real choice; traffic is a rule, and the trace line names which rung answered every single pick.

What decides what

  • The track and the clock are pure code. The SDK generator lays the segments — same seed, same road, bit for bit — and laps, grip, and bump physics are plain arithmetic.
  • Personalities decide the racers. hauler hugs the apex, shadow lives in the slipstream, wall takes the wide line, rookie wavers: each scores the four candidate lines with its own weights, exactly like Pong's reward sliders.
  • The engine breaks genuine ties. When two lines score exactly equal, that tie is a real choice request with the racer's weights in the state — abstention falls back to the argmax. Your suggested-line chip runs the same scoring and shows its rung.
  • Traffic is a labelled rule. The slow cars circulate and never decide, never finish — bumps cost you their speed. The trace line names the rung behind every line pick.

Honest edges

  • The engine never picks a line that didn't tie — with the engine off you get the same argmax the weights always produced, marked on the trace.
  • The scoreboard is session-only — close the tab and it is gone. No server, no accounts, nothing leaves the page.
  • The bot driver is a readable baseline — neutral-weight line, brake into the sharp bends — not a secret strong solver.
  • Throttle is automatic and the camera follows your line; the projection is the classic segment-scale math, drawn procedural, no sprites loaded.