Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/mrdcvlsc/flappy-ffnn-ga
- Owner: mrdcvlsc
- License: mit
- Created: 2023-10-18T14:05:29.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-31T03:14:43.000Z (3 days ago)
- Last Synced: 2024-12-31T04:21:00.774Z (3 days ago)
- Topics: cpp, eigen3, flappy-bird, genetic-algorithm, machine-learning, neural-network, sfml
- Language: C++
- Homepage:
- Size: 12.5 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
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.
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.