Skip to content

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

Notifications You must be signed in to change notification settings

leonwind/flappy-bird-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 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