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.
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