Skip to content

greymistcube/flappy_bird_neat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flappy Bird Clone with NEAT

Game Screen

More information about this project can be found on this github page.

Dependencies

pygame numpy

This project only requires numpy and pygame packages to run. To install the required packages, run the following commands.

pip install numpy
pip install pygame

Usage

Run with

python game.py

to start the game normally in a playable mode with the default settings. Various command line arguments may be passed on to change the settings. For example,

python game.py -z 3 -d hard -n 200 neat

will start the game with 3x display zoom, difficulty set to hard, and 200 birds per generation for the AI. For more help, run the program with -h as its argument.

Controls

Use Space to jump. Number keys 0, ..., 9 may be used to change the game speed. This is mainly used to speed up the training process for the AI. Use i to toggle the information overlay.

Development

All assets, except the font, are made by me, and please feel free to use them in any way you see fit. If you like the font and would like to use it, please consider making a small donation to the original author by following the link below.

  • VSCode: Code editor used for programming.
  • Aseprite: Drawing tool used for pixel art.
  • monogram: Pretty looking monospaced pixel font.

License

MIT

This project is released under the MIT License. See the LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages