When you click, all the pieces in line with the piece switch colors. Remove all the dark to advance to the next level (they get harder every round).