Final Tetris code