A TensorFlow.js based AI player platform for T-Rex Runner.
神经网络与遗传算法: TensorFlow.js 学会游戏通关
T-Rex Runner is originally an easter egg game inside chrome's offline error page.
The official version of TensorFlow in JavaScript. It is A WebGL accelerated, browser based JavaScript library for training and deploying ML models. Visit the official website to discover more.
t-trex-run
is an artificial intelligent player platform designed for T-Rex Runner, and enpowered by TensorFlow.js.
onReset
, onRunning
and onCrushed
are supportednpm install
npm start
Visit http://localhost:8080