flappy.js — live simulation
Generation —
Alive —
Best Fitness —
Pipes Passed —
speed:
PROJECT_01
Flappy Bird
+ Genetic AI

A population of birds learns to play Flappy Bird using a genetic algorithm. Each bird has a tiny neural network for its brain — it looks at three distances and decides whether to flap. Bad birds die; good birds breed. Watch the population evolve over generations entirely on its own.

// Neural Inputs (best bird)

Distance to Pipe —
Gap from Top —
Gap from Bottom —

// Project Snapshot

Language
JavaScript
Concepts
Genetic Algorithms Neural Networks
Platform
HTML5 Canvas