A flappy bird clone made both for playing and for training a NEAT neural network
- Clone this repo using in the terminal:
git clone git@github.com:luis705/flappy-bird.git
- Windows
Go to python.org, download the installer and run it.
- Linux
Type on terminal:
sudo apt-get install python3
Open the terminal and run
pip install pygame neat-python
To play the game just open the terminal inside the game folder and run main.py with
python3 main.py
To see the training of the neural network run the ai.py filey
pythohn3 ai.py
- Flappy bird game
- Neural netowrk using NEAT
- Core
Python - a easy to learn, but powerfull programming language
- Graphics
Pygame - a set of Python modules designed for writing video games. Pygame adds functionality on top of the excellent SDL library.
- Neural Network
Neat-pythohn - a pure Python implementation of NEAT, with no dependencies other than the Python standard library.
- Spacebar: jump
- R: restart after death
- After 100 generations their data will be saved on scores.json
This project is licensed under the MIT license - see the LICENSE file for details