This action will force synchronization from 陈轩大魔王/Neuroevolution_T-rex, which will overwrite any changes that you have made since you forked the repository, and can not be recovered!!!
Synchronous operation will process in the background and will refresh the page when finishing processing. Please be patient.
用神经网络来训练个能自己玩chrome断线时的那个小恐龙的AI
示例: github page 或者: 码云 page
游戏本体叫“t-rex-runner”,源码来自这里https://github.com/wayou/t-rex-runner。
下称“小恐龙游戏”。
主要实现这些“智能”的类库来自于 neataptic.js ,这个文件来自于https://github.com/wagenaartje/neataptic。
看 index.js 你就会明白,我循环创建了几个iframe,一个iframe一个小恐龙游戏。 对每一个iframe进行操作,把小恐龙游戏的数据传递给AI,再把AI判断的结果换成操作并让小恐龙跳起来。
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。