The classic game of Tetris recreated in MATLAB!
- Clone the repository: https://github.com/phoenixpereira/MATLAB-Tetris
- Open the cloned repository's folder in MATLAB.
- Run
tetris.m
.
To move the piece:
- Use the left and right arrow keys.
To rotate the piece:
- Use the up arrow key for clockwise rotation.
- Use shift + up arrow key for counter-clockwise rotation.
To drop the block down faster:
- Use the down arrow key.
Clear multiple lines to score points faster!