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.
Unless USE_CONFIGURATION_SPECIFIC_QOL_FEATURES
toggle is modified to 0 you will need to have mpv
player installed and use X.Org server.
To build this program you need clang
C compiler installed. To start run ./build run-release
. More info under ./build help
.
A, D: left, right
W, Z: rotate clockwise, rotate counterclockwise
S, Space: soft drop, hard drop