The number of rotations available to the player is shown at the top of the screen. There is no time limit. Take as much time as needed to formulate the best strategy.