Comment Windows implentation (Score 1) 104
A tetris clone named Abandoned Bricks has an implementation of the bastet algo here.
http://abrick.sourceforge.net/
Our OS who art in CPU, UNIX be thy name. Thy programs run, thy syscalls done, In kernel as it is in user!