Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 1 KB

README.md

File metadata and controls

45 lines (31 loc) · 1 KB

Tetris

A terminal-based tetris game for GNU/Linux.

Building

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

Usage

Enter the following command from the project's root directory to run the program:

./bin/tetris

Key bindings

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

License

MIT