Flappy Bird game solved with neat-python, a Python module based on the NEAT genetic algorithm
Based on this tutorial:
-
Several constants can be changed:
- Gap between both pipes
- Distance between each two pipes
- Maximum run time, maximum score and maximum generations after which the game stops
- The FPS
- The configuration (explained later)
- The bird velocity
-
Some display settings can be changed:
- The window size
- The caption
- The fonts
- The animation time of the bird's animation
-
You can add a new NEAT configuration to the 'config' folder (with the name 'config1', 'config2',...)
-
An 'observations' file where you can put your observations based on your settings to get the best possible configuration