Skip to content

vivek3141/flappy-neat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flappy NEAT

This program trains an AI to play Flappy Bird using the NEAT algorithm.

Requirements

  • neat-python
  • pygame
  • pickle

How it works

This program uses the Neuro Evolution of Augmenting Topologies algorithm. Unlike standard neuroevolution, which has a fixed network structure, NEAT learns the best architecture.

Usage

To train, run
python3 main.py train

To run, run
python3 main.py run

Score

I got a score of 123. Feel free to change the variables in the config file and try!

Credits

@GianottiGustavo for the game and config.

Releases

No releases published

Packages

No packages published

Languages