A terminal-based tetris game for GNU/Linux.
Enter the following command to build an optimized binary:
make
In order to surpass any optimizations and generate a binary containing debug information, enter the following command:
make debug
Enter the following command from the project's root directory to run the program:
./bin/tetris
Keystroke | Effect |
---|---|
← / H | Move tetromino left |
→ / L | Move tetromino right |
↓ / J | Rotate tetromino clockwise |
↑ / K | Rotate tetromino anticlockwise |
Spacebar | Increase falling speed |
Enter | Drop tetromino |
Q | Quit |