edit0: It's an old project, and I was a complete novice in machine learning when I did it, but I'm keeping it because I like it.
edit1: converting from VStudio project to cmake project.
All the codes were made by me.
The goal was to implement a neural network in the game flappybird.
The project creates an instance of a flappy bird game. Then, it trains a neural network using genetic algorithm.
sudo apt update
sudo apt install cmake
sudo apt install libsfml-dev libx11-dev libxrandr-dev libxcursor-dev libudev-dev libfreetype-dev libopenal-devlibflac-dev libvorbis-dev ibgl1-mesa-devlibegl1-mesa-dev
- Open the terminal inside the project root folder
cd flappybird-neuralnetwork-geneticalgorithm-cpp
- using CMAKE to build the project:
mkdir build
cd build
cmake ..
cmake --build .
./flappy_nn
- Space: accelerate the simulation.