Skip to content

Latest commit

 

History

History
15 lines (13 loc) · 419 Bytes

README.md

File metadata and controls

15 lines (13 loc) · 419 Bytes

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