|
A very simple tetris game built with SDL library. As the usual tetris game, 5 different types of pieces exists and the aim of the game is avoid making the board full of pieces. When the bottom row is filled, then it is deleted starting from bottom to up and deletes consecutive full rows.
Also, you can see the next piece on the right of the screen |
- brew install sdl
- brew install sdl_gfx
Z Rotate piece
X Drop piece
Left Move piece to left
Right Move piece to right
Down Move piece to down
Esc Quit game
|
You can change the macros defined in the board.h and resize the game. |