Now the memory game handles rotation.