Tetrepetete
A portable game with blocks
Not to be confused with a game of a totally different name. This is a simple Tetris clone with focus on portability and not requiring any particular UI toolkit (or even a GUI for that matter, as it even contains a ncurses-based TUI).
Open Source
The source code for Tetrepetete is available here: tetrepetete-2.0.0.tar.gz (GPLv2, 176 KiB)