A TensorFlow.js based AI player platform for T-Rex Runner.
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.
- Totally rewritten in ES6/ES7, LESS and Webpack
- Multiplayer mode supported (means you can use genetic algorithm now)
- Events like
onReset
,onRunning
andonCrushed
are supported - Example models are provided
npm install
npm start
Visit http://localhost:8080