wadiim / tetris

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:MIT License


Languages

Language:C 96.2%Language:Makefile 3.8%