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

https://github.com/vivek3141/flappy-neat

Implementing the NEAT algorithm to play flappy bird
https://github.com/vivek3141/flappy-neat

flappy-bird machine-learning neat neural-network neuroevolution

Last synced: 7 months ago
JSON representation

Implementing the NEAT algorithm to play flappy bird

Awesome Lists containing this project

README

          

# 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.