资 源 简 介
Special Thanks:
Javier López http://javilop.com
This is a Tetris clone using html5 `<`canvas`>` element and javascript. About a week ago I found a tetris clone tutorial written by this handsome guy - Javier López. It’s written in C++. after reading it, I start to port it to javascript. And here it is. I will try to improve it and add more new features.
About the license: The original C++ version (http://javilop.com/gamedev/tetris-tutorial-in-c-platform-independent-focused-in-game-logic-for-beginners/) sourcecode is under Creative Commons – Attribution 3.0 Unported. I use GNU GPL v2 and Creative Commons – Attribution 3.0 Unported here. Anyway, Feel free to modify or use sourcecode files here in your project. (3/30/2013)
Usage
UP arrow key: Rotation
X key: Fall down immediately
LEFT, RIG