Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/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.
https://github.com/MagicCube/tensorflow-rex-run
ai chrome easter-egg es6 es7 javascript neural-network t-rex-runner tensorflow tensorflow-js
Last synced: 3 months ago
JSON representation
A TensorFlow.js based AI player platform for T-Rex Runner. T-Rex Runner is originally an easter egg game inside chrome.
- Host: GitHub
- URL: https://github.com/MagicCube/tensorflow-rex-run
- Owner: MagicCube
- Created: 2018-04-11T13:09:11.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-03-07T06:15:53.000Z (over 1 year ago)
- Last Synced: 2024-06-15T18:34:35.861Z (5 months ago)
- Topics: ai, chrome, easter-egg, es6, es7, javascript, neural-network, t-rex-runner, tensorflow, tensorflow-js
- Language: JavaScript
- Homepage: https://magiccube.github.io/tensorflow-rex-run/index.html
- Size: 2.29 MB
- Stars: 666
- Watchers: 22
- Forks: 119
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-github-star - tensorflow-rex-run - Rex Runner. T-Rex Runner is originally an easter egg game inside chrome. | MagicCube | 657 | (JavaScript)
README
# tensorflow-rex-run
A TensorFlow.js based AI player platform for T-Rex Runner.
## About This Project (Chinese)
[神经网络与遗传算法: TensorFlow.js 学会游戏通关](https://zhuanlan.zhihu.com/p/35451395)## About T-Rex Runner Game
![](https://9to5google.files.wordpress.com/2015/06/pterodactyl.png?w=1600&h=1000)
[T-Rex Runner](http://www.omgchrome.com/chrome-easter-egg-trex-game-offline/) is [originally](https://cs.chromium.org/chromium/src/components/neterror/resources/offline.js?q=t-rex+package:%5Echromium$&dr=C&l=7) 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](https://js.tensorflow.org/) 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.
![](https://github.com/MagicCube/t-rex-run/blob/master/ScreenFlow.gif?raw=true)
## 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
```sh
npm install
```## How to Run
```sh
npm start
```Visit http://localhost:8080