Your goal is to turn off all the lights by clicking on the squares. However, clicking on a square will switch all surrounding squares as well.