ArchUsr64 / flappy_bird_ai

Flappy bird game with genetic algorithm for training neural networks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flappy Bird AI

The entire source is contained in main.py. Making use of a genetic algorithm to train a neural network to play the game.

Pygame is the only non-standard dependency and can be installed from here.

Showcase

The best player from generation no. 24 with 1000 individuals each and a neural network architecture of [4, 4, 2, 1] with the RNG seeded with 1.

2024-04-03.10-57-08.mp4

About

Flappy bird game with genetic algorithm for training neural networks


Languages

Language:Python 100.0%