Road Decider: Jev Mode
A racing demo compares Jev and d1 lane choices on the same road.
A racing demo compares Jev and d1 lane choices on the same road.
In the Jev vs d1 race mode, Jev uses a Choice question to select the safest of three lanes from the current lane and a compact summary of obstacles ahead. The selected lane moves the AI car; the surrounding game tracks its confidence.
Pick the safest lane; row 1 is most urgent and prefer the current lane when equally safe.
Source-defined example state: current lane plus each lane clear or the first obstacle row within look-ahead. The README illustrates center current lane, left obstacle at row 2, center clear, right obstacle row 4.
Read current lane and first obstacle row for each lane in the look-ahead window.
Send that state and the fixed left, center, right Choice question to the selected racer endpoint.
Validate the returned lane, move the AI car, and update the confidence display.
The example demonstrates that a structured decision can run inside a fast game loop: code compresses the road into per-lane obstacle distances and Jev picks from a fixed set of lanes.