Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 588 Bytes

README.md

File metadata and controls

25 lines (20 loc) · 588 Bytes

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.