All Projects → nileshsah → reinforcement-learning-flappybird

nileshsah / reinforcement-learning-flappybird

Licence: MIT license
In-browser reinforcement learning for flappy bird 🐦

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to reinforcement-learning-flappybird

Reinforcement-Learning-An-Introduction
Kotlin implementation of algorithms, examples, and exercises from the Sutton and Barto: Reinforcement Learning (2nd Edition)
Stars: ✭ 28 (-31.71%)
Mutual labels:  qlearning
GAN-Q-Learning
Unofficial Implementation of GAN Q Learning https://arxiv.org/abs/1805.04874
Stars: ✭ 42 (+2.44%)
Mutual labels:  qlearning
ScaryFlight
Just another yet FlappyBird-style game.
Stars: ✭ 24 (-41.46%)
Mutual labels:  flappy-bird
DOM-Q-NET
Graph-based Deep Q Network for Web Navigation
Stars: ✭ 30 (-26.83%)
Mutual labels:  qlearning
Python-Games
A collection of small python games made by me using pygame and tkinter libraries
Stars: ✭ 121 (+195.12%)
Mutual labels:  flappy-bird
AsciiBird
ASCII version of the addictive Flappy Bird game.
Stars: ✭ 34 (-17.07%)
Mutual labels:  flappy-bird
Machine Learning Flappy Bird
Machine Learning for Flappy Bird using Neural Network and Genetic Algorithm
Stars: ✭ 1,683 (+4004.88%)
Mutual labels:  flappy-bird
flappy-bird-pygame
A clone of Flappy Bird, using Pygame.
Stars: ✭ 99 (+141.46%)
Mutual labels:  flappy-bird
wxapplet-canvas-demo
用微信小程序的canvas做的一个小游戏
Stars: ✭ 72 (+75.61%)
Mutual labels:  flappy-bird
flappy-haskell
Flappy Bird Haskell Implementation
Stars: ✭ 33 (-19.51%)
Mutual labels:  flappy-bird
Deep reinforcement learning course
Implementations from the free course Deep Reinforcement Learning with Tensorflow and PyTorch
Stars: ✭ 3,232 (+7782.93%)
Mutual labels:  qlearning
FlappyBird-N64
Clone of Flappy Bird for Nintendo 64 built using the open source LibDragon SDK. Original game design, graphics, and sound effects created by .GEARS
Stars: ✭ 38 (-7.32%)
Mutual labels:  flappy-bird
ReinforcementLearning Sutton-Barto Solutions
Solutions and figures for problems from Reinforcement Learning: An Introduction Sutton&Barto
Stars: ✭ 20 (-51.22%)
Mutual labels:  qlearning
reinforced-race
A model car learns driving along a track using reinforcement learning
Stars: ✭ 37 (-9.76%)
Mutual labels:  qlearning
Rigley2-FlappyBug
The awaited sequel sees our Rigley friend jumping through firewalls "Flappy Bird" style
Stars: ✭ 27 (-34.15%)
Mutual labels:  flappy-bird
Deep-QLearning-Demo-csharp
This demo is a C# port of ConvNetJS RLDemo (https://cs.stanford.edu/people/karpathy/convnetjs/demo/rldemo.html) by Andrej Karpathy
Stars: ✭ 34 (-17.07%)
Mutual labels:  qlearning
boot2flappy
Flappy Bird as bootable UEFI executable
Stars: ✭ 48 (+17.07%)
Mutual labels:  flappy-bird
NeuroEvolution-Flappy-Bird
A comparison between humans, neuroevolution and multilayer perceptrons playing Flapy Bird implemented in Python
Stars: ✭ 17 (-58.54%)
Mutual labels:  flappy-bird
Q-learning-conv-net
Q learning AI bot perceiving environment with CNN
Stars: ✭ 14 (-65.85%)
Mutual labels:  qlearning
cartpole-rl-remote
CartPole game by Reinforcement Learning, a journey from training to inference
Stars: ✭ 24 (-41.46%)
Mutual labels:  qlearning

Reinforcement Learning for Flappy Bird in JS

A project aimed to explain reinforcement learning in the most simplistic way ever possible by training a 32px by 32px game of flappy bird using Q-learning through a script written purely in JavaScript.

The script js/brain.js is where the learning logic resides and has been documented heavily to explain the baseline Q-learning algorithm from scratch and how it can be applied in a real-time scenario.

With everything written solely in JS, the game can be trained and tested right inside our browser with no external dependencies at all. You can witness how the bird learns to play the game in real-time by visiting the link: http://nileshsah.github.io/reinforcement-learning-flappybird/ ¯\(ツ)

In an ideal scenario, the bird learns to operate upon a static non-volatile environment in mere 25 trials of the game while for a randomized environment it might take up to 1000+ trials.

Further Reading


[1] http://people.revoledu.com/kardi/tutorial/ReinforcementLearning/

[2] https://medium.com/emergent-future/simple-reinforcement-learning-with-tensorflow-part-0-q-learning-with-tables-and-neural-networks-d195264329d0

[3] https://www.cs.toronto.edu/~vmnih/docs/dqn.pdf

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].