Skip to content

Using Neural Networks through the NEAT algorithm for the birds so they can learn how to play Flappy Bird

License

Notifications You must be signed in to change notification settings

dtoscar24/Flappy_Bird

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flappy_Bird

In this repository you will find all the commented code above. The main objective will be to apply the NEAT algorithm, specifically NEAT-python, to create Neural Networks so that they can control the individuals of a population, better known as genome in genetic algorithm. :shipit:

Flappy Bird gif

How to execute code:

Important

  1. You have to download the imatges folder, the config.txt and flappy.py file and put it in a folder (you have to create it).
  2. You must import the folder which you created in Visual Studio Code and run the flappy.py file.

Note

Language used: Python (version 3.11.4)

Code editor: Visual Studio Code

Libraries used:

Llibraries:

  • Neat-python (version 0.92)
  • Pygame (version 2.5.0)
  • os and random

Releases

No releases published

Packages

No packages published

Languages