A Tetris clone written in HTML5 and TypesScript.
https://jdiemke.github.io/tetris/
You can use your keyboard or a gamepad to control the game.
| Control | Action |
|---|---|
| S | Confirm selection / Start game |
| Left Arrow Key / Direction Pad Left Button | Move the tetromino to the left |
| Right Arrow Key / Direction Pad Right Button | Move the tetromino to the right |
| Up Arrow Key / Gamepad Button 1 | Rotate the tetromino by 90 degree in clockwise direction |
| Y key | Rotate the tetromino by 90 degree in counterclockwise direction |
| Down Arrow Key / Direction Pad Down Button | Soft drop the tetromino |
| Space key | Hard drop the tetromino |
| F Key | Toggle fullscreen mode |