The objective of the game is to turn each light on the board out. By clicking a piece on the board you will reverse the state for that piece and every adjacent piece. If they were "on" they'll switch to "off". To win you just need to make sure the entire board is Allout.