Skip to content

Times0/FlappyBirdAI

Repository files navigation

Contributors Issues License


Logo

Flappy Bird AI

Simple AI for Flappy Bird using NEAT algorithm. Inspired from this video.
Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgments

Here is what it looks like after the training: trained.gif

About The Project

Training an AI to play Flappy Bird using NEAT algorithm.

NEAT = NEUROEVOLUTION OF AUGMENTING TOPOLOGIES

Getting Started

  1. Clone the repo
git clone https://github.com/Times0/FlappyBirdAI.git
  1. Install requirements
pip install -r requirements.txt
  1. Run the program
python main.py

If there is a file best_genome in the folder, the program will load it and use it to play the game. Otherwise, it will train a new AI and save it in the file best_genome.

Training

demo_training.gif

Contact

times.coding@gmail.com

Releases

No releases published

Packages

No packages published

Languages