Text console version of Tetris I wrote back in 1992 for IBMPC/SGI that works on VT100 + Wyse terminals. Works on linux, MacOS and Windows 10 (DOS terminal).
To build the program (assumes you have the gcc compiler installed):
make
To run the game:
./tetris