AI / ML · Live Demo
Neuroevolution Flappy Bird
This is the real project, running live. It evolves a population of 50 neural-network birds through neuroevolution: a genetic algorithm that breeds the fittest birds each generation until they learn, from just two inputs, to clear the pipes on their own.
- Mode: You / AI: Play it yourself, or switch to AI and watch the population train.
- Debug View: Visualize each bird's input ray to the next pipe gap.
- Space to flap: In player mode, press Space to jump; tap on mobile.
JavaScriptp5.jsNeuroevolutionGenetic AlgorithmNeural Networks
View source on GitHub