efindus / tetris

Tetris written in C for GNU/Linux terminal.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tetris

My complete and lightweight Tetris implementation based on SRS guidelines found here. It works in terminal and is GNU/Linux only, with no plans to make a Windows/OSX version.

Running

Unless USE_CONFIGURATION_SPECIFIC_QOL_FEATURES toggle is modified to 0 you will need to have mpv player installed and use X.Org server.

Building

To build this program you need clang C compiler installed. To start run ./build run-release. More info under ./build help.

Controls

A, D: left, right
W, Z: rotate clockwise, rotate counterclockwise
S, Space: soft drop, hard drop

Tetris screenshot

About

Tetris written in C for GNU/Linux terminal.

License:GNU General Public License v3.0


Languages

Language:C 87.8%Language:Shell 12.2%