This is a tetris game written in JavaScript
To rotate press the up arrow. Shifting left and right is done with the left arrow and right arrow respectively. The down arrow will lower the block by one level.