Giter Site home page Giter Site logo

magiccube / tensorflow-rex-run Goto Github PK

View Code? Open in Web Editor NEW
663.0 22.0 118.0 2.34 MB

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

HTML 3.98% JavaScript 94.53% Less 1.49%
t-rex-runner tensorflow tensorflow-js ai neural-network chrome easter-egg javascript es6 es7

tensorflow-rex-run's Introduction

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

tensorflow-rex-run's People

Contributors

amanu-nur avatar magiccube avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tensorflow-rex-run's Issues

建议:信息获取阶段优化

是否考虑将AI的信息获取做成 动态画面捕获,然后通过操作按键的形式 玩游戏。毕竟通过修改游戏源码实现AI玩游戏通用性不大

webpack-cli版本过低

npm start以后
image
看报错的详细,没有发现是配置上的问题。
在google上找,查到了下面这个链接
webpack/webpack#8082

这个issue里报的错误是和我一摸一样的。
通篇看下来,原来这是webpack-cli自带的bug
给的解决方案生升级webpack-cli到3.1.1,我看了下,package.json里还是在2版本。
于是卸载重新安装,然后就升级到了3版本。
再次启动,就成功了。

建议:
package.json里的 webpack-cli 要求3版本。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.