Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

In-browser reinforcement learning for flappy bird 🐦

License

NotificationsYou must be signed in to change notification settings

nileshsah/reinforcement-learning-flappybird

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

The scriptjs/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

About

In-browser reinforcement learning for flappy bird 🐦

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp