Processing Tetris code