The aim is to clear the grid through rotating your device (or using the onscreen buttons) to change gravity, and you need to do it in the allocated number of moves. It's like a Match-3 game combined with a Rubicks Cube.