Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/talhaahussain/flappy-bird-neat
- Owner: talhaahussain
- License: mit
- Created: 2023-07-03T18:39:20.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-13T16:51:20.000Z (5 months ago)
- Last Synced: 2024-06-13T20:06:24.216Z (5 months ago)
- Topics: evolutionary-algorithms, flappy-bird, neat-python, pygame
- Language: Python
- Homepage:
- Size: 30.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)