Skip to content

leonwind/flappy-bird-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Genetic algorithm (NEAT) to generate and optimize deep neural networks for the game "Flappy Bird".

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages