This project contains the classical game tetris which is implemented in HTML with canvas, dirty rectangles and JavaScript.
It is still super buggy and needs improvement!
You are able to play the game here.
Game controls are implemented for smartphone and keyboard use which is the reason why you can control the game with the mouse when playing in the browser on a PC.