Home

Awesome

FlappyBirdRL

Flappy Bird hack using Reinforcement Learning

You can view a summary of the game and the algorithm here! <link>http://SarvagyaVaish.github.io/FlappyBirdRL</link>

Running the code yourself

Troubleshooting

If you just opened the index.html page you might have an error in the console regarding origin requests. Right click anywhere on the screen, click Inspect and then look at the Console.

Does it have the following error? Example screenshot

Failed to load file:///Users/.../res/flappyAtlas/atlas.txt: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https."

The issue: The page tries to load a file from disk but most modern browsers block that as a security risk.

Solution: Run a local server. Use the instructions above to start a server locally in 2 minutes.