Click tiles to rotate them. Rotate as few tiles as possible. You can't click too much. You will still win as long as all tiles are rotated correctly in the end. i put a border around tiles as requested by @agentaj8