Skip to content

efindus/tetris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Resources

License

Stars

Watchers

Forks