MagicCube / 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.

Home Page:https://magiccube.github.io/tensorflow-rex-run/index.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

https://magiccube.github.io/tensorflow-rex-run/index.html


Languages

Language:JavaScript 94.5%Language:HTML 4.0%Language:Less 1.5%