/rl_case

Train an AI agent to play FlappyBird

Primary LanguagePython

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