Live experiment. See js/evolution.js.
1x,5x,20x: change simulation speed.Pause/Resume: stop or restart the simulation loop.- Click or tap the arena to drop a food pellet.
- Refresh the page to restart from random neural-network weights.
- Edit
js/evolution.jsand/orgame.html. - Run several generations at
20xand confirm agents, food, HUD values, and generation rollover still behave correctly. - Run a syntax check:
node --check js/evolution.js- Confirm the homepage and project browser still link to the game.
- Commit to
masterand push. GitHub Pages deploys from that branch.
- 40 agents controlled by tiny neural networks.
- Genetic algorithm with top-parent selection, crossover, mutation, and elite carryover.
- Food placement, speed controls, pause/resume, and live HUD.
- No backend, API calls, persistence, or pre-trained model.