/tetris

Tetris Clone with Vue3

Primary LanguageVueGNU General Public License v3.0GPL-3.0

tetris

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