An open API service indexing awesome lists of open source software.

https://github.com/sam120204/flappybird---python-with-neat

Using an AI to play the game of flappy bird using Python and the module NEAT - python.
https://github.com/sam120204/flappybird---python-with-neat

neat-python python

Last synced: 9 months ago
JSON representation

Using an AI to play the game of flappy bird using Python and the module NEAT - python.

Awesome Lists containing this project

README

          

**# FlappyBird-Project**

Utilizing the Python-NEAT module to enable AI to control the bird that can navigate obstacles and achieve endless gameplay autonomously.

**How it works?**

NEAT stands for NeuroEvolution of Augmenting Topologies, which is a genetic algorithm designed to efficiently evolve artificial neural network topologies.

**How NEAT applies to Flappy Bird?**

- Note that all individuals belong to the same species because we found a solution before any topological innovation occurred.

- From generation 0 to generation 4, all birds almost immediately hit the ground or the upper limit.

- From generation 5, NEAT started to know how to keep the bird flying, but it still didn’t figure out how to get through the pipes. At generation 9, a huge breakthrough happened: a bird learned how to pass the pipes and became the skilled player you saw at the beginning of this article

**Watch the DEMO here!**

![4410c16acbd3a4c8a7ace8656f1adf35-ezgif com-video-to-gif-converter](https://github.com/Sam120204/FlappyBird---Python-with-NEAT/assets/75916625/d42d296d-8981-434e-ae72-5bff02ae7e86)

**Core Design**
![image](https://github.com/Sam120204/FlappyBird---Python-with-NEAT/assets/75916625/cc631939-26e1-4ba7-88a3-55e66c43d2df)