This is the completed redesign version of my previous Tetris game. This version is built on top of AngularJS. And the idea for ngTetris is inspired by ng-2048.
Use AngularJS to build a simple Tetris game. Demo link
- Colorful and beatiful UI
- Ghost piece support
- Able to do hard drop and either rotation direction
- Five different levels of customable speed control
- Let you design your own custom piece and auto saving configuration
- Able to save your game in anytime
- Able to restore your previous saved record
- Responsive UI design for Desktop and mobile
- Able to play in your mobile device.
Wow - Build from the one of best AngularJS practices, thanks for johnpapa
- Use one of most comperhance AngularJS boilerplates, really need to thank: ngbp
Install Node.js and then:
$ git clone https://github.com/davishacker/ngTetris.git
$ cd ngTetris
$ sudo npm -g install grunt-cli karma bower
$ npm install
$ bower install
$ grunt watch
Finally, open the app with the url: http://localhost:9000 in your browser
MIT