An implementation of Flappy Bird by Dong Nguyen (2013) in Pygame, as well as a NEAT (NeuroEvolution of Augmenting Topologies) genetic algorithm to learn and play the game. Written in Python. Inspired by Tech With Tim's YouTube series - see here.
Prerequisites are viewable in requirements.txt
.
Clone with:
git clone https://github.com/talhaahussain/Flappy-Bird-NEAT.git fp-neat
cd fp-neat/
Install prerequisites with:
pip install -r requirements.txt
The NEAT algorithm can be configured using config_feedforward.txt
. More information on how to do this can be seen here, at NEAT-Python’s documentation.
Run with:
python flappy_bird.py