Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/talhaahussain/flappy-bird-neat

An implementation of Flappy Bird by Dong Nguyen (2013) in Python, as well as a NEAT (NeuroEvolution of Augmenting Topologies) genetic algorithm to learn and play the game.
https://github.com/talhaahussain/flappy-bird-neat

evolutionary-algorithms flappy-bird neat-python pygame

Last synced: 5 days ago
JSON representation

An implementation of Flappy Bird by Dong Nguyen (2013) in Python, as well as a NEAT (NeuroEvolution of Augmenting Topologies) genetic algorithm to learn and play the game.

Awesome Lists containing this project

README

        

# Flappy-Bird-NEAT
An implementation of Flappy Bird by Dong Nguyen (2013) in Pygame, as well as a NEAT (NeuroEvolution of Augmenting Topologies) genetic algorithm to learn and play the game. Written in Python. Inspired by Tech With Tim's YouTube series - see [here](https://youtube.com/playlist?list=PLzMcBGfZo4-lwGZWXz5Qgta_YNX3_vLS2&feature=shared).

### Prerequisites

Prerequisites are viewable in `requirements.txt`.

### Installation

Clone with:

```shell
git clone https://github.com/talhaahussain/Flappy-Bird-NEAT.git fp-neat
cd fp-neat/
```

Install prerequisites with:

```shell
pip install -r requirements.txt
```

### Configuration

The NEAT algorithm can be configured using `config_feedforward.txt`. More information on how to do this can be seen [here](https://neat-python.readthedocs.io/en/latest/index.html), at NEAT-Python’s documentation.

### Usage

Run with:

```shell
python flappy_bird.py
```

### See also

[Donkey-Kong-NEAT](https://github.com/talhaahussain/Donkey-Kong-NEAT)