A quick-n-dirty (and probably incomplete) implementation of Tetris