Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mrdcvlsc/flappy-ffnn-ga

Training a neural network to play a flappy bird like game using genetic algorithm
https://github.com/mrdcvlsc/flappy-ffnn-ga

cpp eigen3 flappy-bird genetic-algorithm machine-learning neural-network sfml

Last synced: 3 days ago
JSON representation

Training a neural network to play a flappy bird like game using genetic algorithm

Awesome Lists containing this project

README

        

# FLAPPY-FFNN-GA

![builds](https://github.com/mrdcvlsc/flappy-ffnn-ga/actions/workflows/builds.yml/badge.svg)
[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)

A Flappy Bird like game that uses a feedforward neural network to play the game, and a genetic algorithm to learn how to play the game.


Sample GIF Loading...

The player's bird which is actually just a box (has a red colored outline and filled with yellow color inside) can be controlled by the human player by pressing the `space` key in the keyboard.

A human player can compete with the each generated birds controlled by their own neural network.

Anyone can [download the released executables (click here to download)](https://github.com/mrdcvlsc/flappy-ffnn-ga/releases) and extract it then run the program, these release executables are only supported on x86-64 or 64-bit systems.

In windows, one might need to install the [Microsoft Visual C++ Redistributable](https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170#visual-studio-2015-2017-2019-and-2022) in their system if the release versions of the executables is not working.