AutoFlappy
AutoFlappy copied to clipboard
Genetic Algorithm trains NN to play Flappy like game.
AutoFlappy
Genetic Algorithm trains NN to play Flappy like game.
Installation
Prerequisites
In order to compile this project you will need to:
- have SFML installed on your system. If you don't know how to do it see this link.
- have CMake installed
Compilation
Detailed explanation here
On Linux with install.sh
- Go in the repo folder
cd the/repo/location
- Execute
install.shscript
./install.sh
- To run the compiled binary:
./AutoFlappy
On Windows with CMake GUI and Visual Studio
- Install the right SFML version or compile it (see this)
- Run CMake
- Select the repo location
- Click on
Configure, if you have installed thex64version of SFML, in the pop up window selectx64in theOptionnal platform for generatordrop down
- Click on
Finish - Click on
Generate
- You can now open the generated project and build it.
Commands
| Command | Action |
|---|---|
| Space | Toggle slowmotion |
| E | Toggle max speed mode |