Tetris Clone with Vue 3 as a Component.
| Prop | Type | Default | Function |
|---|---|---|---|
| speed | Number | 600 | Game tick rate. |
| COLS | Number | 10 | Amount of columns the game grid will have. |
| ROWS | Number | 20 | Amount of rows the game grid will have. |
| Key | Function |
|---|---|
| UP ARROW | Rotate piece. |
| DOWN ARROW | Speed up game speed. |
| LEFT ARROW | Move piece left. |
| RIGHT ARROW | Move piece right |