afirez / rl_case

Train an AI agent to play FlappyBird

Home Page:https://wangjia184.github.io/rl/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AI plays Flappy Bird

Try it here : https://wangjia184.github.io/rl/

FlappyBird is a famous game, I forked the Javascript edition from here, and then trained a model to play it using PG/A2C/PPO algorithms. Have fun! try it in your web browser. https://wangjia184.github.io/rl/

Demo

Dependencies

#Install selenium binaries https://googlechromelabs.github.io/chrome-for-testing/

For MacOS

sudo chmod +x ./chrome-mac-arm64/chromedriver
sudo xattr -r -d com.apple.quarantine /path/to/chrome-mac-arm64/chromedriver
sudo xattr -r -d com.apple.quarantine /path/to/chrome-mac-arm64/GoogleChrome.app

About

Train an AI agent to play FlappyBird

https://wangjia184.github.io/rl/


Languages

Language:Python 84.6%Language:Shell 15.2%Language:PureBasic 0.2%