goepfert / flappybird

Another neuro-evolution flappy bird clone based on plain javascript and tensorflow.js. Compare yourself after 5 minutes of training with the machine!

Home Page:https://goepfert.github.io/flappybird/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flappy Bird

Plain javascript browser game clone of Flappy Bird. Play it yourself or let the machine learn it!

Learning process is heavily inspired by

(and of course by https://www.youtube.com/watch?v=pVeqRVxI8Iw 😆)

which uses a neural network that is trained (actually not really) by a neuro evolution process similar to a genetic algorithm.

The birdies start with a pretty simple brain (only one hidden layer) that is randomly generated. After each iteration a new set of birds is created from best ones from the previous iteration. Their brain (the network) is copied over gets mutated a little. Then a new season start ... and we'll see if the come after their parents and survive longer.

Check the Demo.

About

Another neuro-evolution flappy bird clone based on plain javascript and tensorflow.js. Compare yourself after 5 minutes of training with the machine!

https://goepfert.github.io/flappybird/


Languages

Language:JavaScript 85.6%Language:HTML 9.6%Language:CSS 4.7%