This is an AI bot that learns to play the game Flappy Bird by itself. It use the NEAT module in python to achieve this. Apart from this module, I have also used pygame to actually make the Flappy Bird game itself.
Online Deployment for running the application in your browser
- Download the code in a ZIP format and unzip it in a folder of your choice.
- Open Terminal and install neat-python and pygame modules.
pip install pygame
pip install neat-python
python main.py
- Run the main.py file.
This uses the position of the bird and the position of the pipes to form neural networks using NEAT. If you do not understand it, it's basically like Darwin's Natural selection where many generations are created with the best traits passed on till a perfect bot is achieved.