I followed the tutorial from here:
All credits for the game go to him.
About what I did with the game, go to http://ideascomecheap.blogspot.com/2013/05/tetris.html
To play the game, run Tetris.javaControl:
|Move||Left and Right Direction arrows|
|Rotate||Up and Down Direction arrows|
*I am still figuring out how to deploy Java in the Web, so for the time being, if you would like to try the game, you could remake the whole thing from the tutorial, or fork my repo. Have fun!