A modern implementation of the classic.
This project is written in ES6 JavaScript, packed by Babel.js + Webpack, producing a final file dist/tetris.pack.js. In order to build this file, follow this steps:
- Install node and bower.
- Install npm dependencies with
npm install. - Install bower dependencies with
bower install. - Run the webpack build command with
node build. That is, executingbuild.js. - You are done! You can play Tetris by opening
index.htmlwith your favorite browser.
All contents of this repository are licensed under the MIT License, see LICENSE. This code is an unofficial implementation of Tetris, and is not supported by, or affiliated with, Tetris Holding or The Tetris Company.