/tetris

Primary LanguageJavaScript

Tetris

Developed in ES6. Followed http://tetris.wiki

New Features!

  • Added extra style for score board
  • Added the ghost block

Tech

Technology used here are:

  • [node.js] - evented I/O for the backend
  • [Gulp] - the streaming build system

Installation

Install the dependencies and devDependencies.

$ cd Tetris
$ npm install -d
$ gulp

Development

sass to css:

$ gulp scss

minify css

$ gulp mincss

bundle the js files into a single file

$ gulp bundlejs

for live changes

$ gulp watch

for development purpose

$ gulp

Todos

  • Bugs in Ghost block
  • Bugs in collision detection