Skip to content

The classic game of Tetris recreated in MATLAB!

Notifications You must be signed in to change notification settings

phoenixpereira/MATLAB-Tetris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MATLAB Tetris

The classic game of Tetris recreated in MATLAB! demo

Installation

  1. Clone the repository: https://github.com/phoenixpereira/MATLAB-Tetris
  2. Open the cloned repository's folder in MATLAB.
  3. Run tetris.m.

How To Play

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!