Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 502 Bytes

README.md

File metadata and controls

15 lines (12 loc) · 502 Bytes

Flappy-Bird-Ai

Implemented a genetic algorithm (NEAT) to generate and optimize neural networks to play Flappy Bird. It normally takes around 10 generations until at least one bird from the population evolves, which will not die anymore.

Usage

To let the genetic algorithm train an agent, use:

python -m flappy_bird.game

To just play the game for yourself, use:

python -m flappy_bird.game -play