functional 8x8 tetris