SarvagyaVaish/FlappyBirdRL
关于
使用强化学习实现的 Flappy Bird hack
人工智能与机器学习实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文FlappyBirdRL
Flappy Bird hack using Reinforcement Learning
You can view a summary of the game and the algorithm here! http://SarvagyaVaish.github.io/FlappyBirdRL
Running the code yourself
Download the code and unzip it
Open a terminal and navigate to the folder
cd ~/Downloads/FlappyBirdRL-masterStart a simple server using python
python -m SimpleHTTPServer 8000More details here.
In a browser navigate to the local server's address (default is 0.0.0.:8000)
Troubleshooting
- Did you start a server?
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.
探索相关项目
加载中…