Skip to content
/ tetris Public

A terminal-based tetris-like game for GNU/Linux.

License

Notifications You must be signed in to change notification settings

wadiim/tetris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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