Giter Site home page Giter Site logo

tetrisapp's Introduction

Tetris App

  • 支持平台: JSBox/Browser/Nodejs
  • 采用分层架构设计:游戏逻辑层、控制面板层、界面展示层

在JSBox上运行

这个工程是一个JSBox原生工程,上传至JSBox可直接运行。

在浏览器上运行

需要配合静态http服务器进行运行,推荐使用python自带http服务器:

# python 3
python -m http.server

# python 2
python -m SimpleHTTPServer

控制说明:

  • 访问:http://lcoalhost:8000/browser/view.html
  • 控制左右方向
  • 形变
  • 长按加速,双击落地
  • p暂停
  • s开始

在控制台基于nodejs运行

node terminal/app.js

控制说明:

  • 控制左右方向
  • 形变
  • 落地
  • p暂停
  • s开始

tetrisapp's People

Contributors

laveval avatar

Stargazers

Abbi Christina Corcoran avatar

Watchers

Guozhong Shi avatar

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.