-
Notifications
You must be signed in to change notification settings - Fork 339
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Breakout Example #15
Comments
Yes, second that... I probably, will take a stab at that to see if we can integrate ReinforceJS to this js-breakout game. Another question: Does the javascript version able to leverage the GPU ? |
@kmader Just got a simple breakout game working using a simple code from MDN Actually, before trying out breakout, i was trying reinforcejs on "snake eat apple game" and got some success. Thinking it is easy, i move on to breakout but never got it work properly. I keep changing the game settings like using smoothing paddle movement, adding more attributes to the brain. But in fact, it turns out that the game worse when i pass in more variables. It turns out that lowering the alpha from 0.005 to 0.0001 does the trick !!! Check it out. You can save your model as well as loading the prebuilding model by click on "Load Model button" The code is not that clean, abit messy because i was trying out stuff. Will refactor when i have time. This is cool ! Try it ! Note, you can use developer console to check real-time between consecutive hits vs misses. |
Got javascript-breakout to work... Check it out ! |
@gitricko Hi we are also working on a deep q learning game using reinforcejs. Just wondering how many iterations do we need to see the ai acting clever? |
@alperenkirimer For me, it took a few hours because my environment is simplistics... It may take a day using CPU |
In case it's interesting or you have a sample gallery, breakout with deep-q learning (since that's the youtube video example originally shown for such games)
http://4quant.com/javascript-breakout/ repo: https://github.com/4Quant/javascript-breakout
The text was updated successfully, but these errors were encountered: