Links:

Tetris written in sed.
Bash script to make sedtris playable.
License for sedtris.