/tensorflow-rex-run

A TensorFlow.js based AI player platform for T-Rex Runner. T-Rex Runner is originally an easter egg game inside chrome.

Primary LanguageJavaScript

tensorflow-rex-run

A TensorFlow.js based AI player platform for T-Rex Runner.

About This Project (Chinese)

神经网络与遗传算法: TensorFlow.js 学会游戏通关

About T-Rex Runner Game

T-Rex Runner is originally an easter egg game inside chrome's offline error page.

About TensorFlow.js

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.

About This Project

t-trex-run is an artificial intelligent player platform designed for T-Rex Runner, and enpowered by TensorFlow.js.

Key Features

  • Totally rewritten in ES6/ES7, LESS and Webpack
  • Multiplayer mode supported (means you can use genetic algorithm now)
  • Events like onReset, onRunning and onCrushed are supported
  • Example models are provided

How to Install

npm install

How to Run

npm start

Visit http://localhost:8080