Tetris has probably been coded in all kinds of programming languages and for everything from computers to calculators, phones and next-gen gaming consoles. I randomly came across sedtris.sed written in sed(stream editor : Unix command line utility for text manipulation)

heh =:-)