EvoRacer AI - Learning from Mistakes v6.19

EvoRacer AI

Watch AI learn to race! (Persistent Green Cars - Fix)

{/* Status message container - now includes the restart button when simulation ends */}
{/* Ensure parent flex takes full width */} {/* Canvas Container */}
{/* Changed items-center to items-start */}
{/* Info Panel & Leaderboard Container */}
{/* Make this a flex column */}

Simulation Stats

Generation: 0

Time Left: 0s

Cars Racing: 0

Best Fitness: N/A

Max H-Prog: 0/0

Finishers: 0

Total Green: 0

{/* Allow leaderboard to shrink/grow */}

Leaderboard (Live)

{/* Make leaderboard scrollable area grow */}
    {/* Leaderboard items will be populated here by JS */}
{/* Prevent How it Works from shrinking */}

How it Works (v6.19)

  • Cars try to reach the finish (green line).
  • Finished cars turn green & survive permanently.
  • Offspring bred from Top 4 Green survivors & Top 4 current non-finishers. (Fallback logic applies).
  • Leaderboard fitness updates live.
  • Driving backwards incurs a small penalty.
  • Game ends if all cars finish a generation.
  • Cars penalized for not progressing. Steering rewarded.

A Genetic Algorithm demonstration. v6.19