A Cyberpunk Themed Flappy Bird Game made using Python Pygame and played by an AI.
Check out the classic game version here.
AI-Demo.mp4
- The game was designed using the pygame library while NEAT was implemented using the Python-NEAT package.
- The game uses search and optimise technique called genetic algorithm which creates a particular number of random configurations, the best configuration of them is used to create the next generation of neural networks, as we repeat the process, with time, we observe that the performance gets better.
- Base and pipe created using Adobe Illustrator.
-
Install Python 3.10.7
-
Install Pygame and NEAT-Python
pip3 install pygame pip3 install nest-python
-
Clone the repository:
$ git clone https://github.com/DXMary/Flappy-Bird-AI-Game.git
or download as zip and extract.
-
To run it
python3 AI_game.py
- Font from https://www.fontspace.com/sesohq.
- Background music Waveshaper - Fight Against Time.
- Techwithtim's series provided the basis for this game.
The project is currently in progress. I will be working on it further to add the following features:
- Accessing both the classic game and the AI game from a main menu.
Contributions, issues, and feature requests are welcome!
Give a ⭐ if you like this project!
Thanks for checking out my program!
- GitHub: @DXMary
- Linkedln: Maryam Diomande