Lights Out Maths Club Activity
Your goal is to turn off all the lights.
The difficulty is that when you click on any square, in addition to its state, it changes the state of its adjacent (touching) squares.
When starting out, keep states at 2 (on and off).
[For more advanced challenge, you can choose up to 7 different states (colours) of lights and expand the board up to 20 rows by 20 columns.]
1. First you have to Set up the puzzle to solve. You can do it manually, colouring in all of the boxes so that all of the lights are on.
[You can also choose to have the application Randomly colour the board. In this case, the existence of a solution is guaranteed.]
2. Afterwards you can try to solve the puzzle, that is, turn off all the lights. If you succeed, a congratulations message will appear.