Sorry, english isn´t my first language, I´ll try to make it more clear:
Imagining Lizzo presses the buttons 8, 4, 4,
When I test in the for-loop by going from one to nine, it doesn´t âresetâ to the state where Lizzo ended. So by testing for five, the state of the Square as if the numbers 8, 4, 4, 1, 2, 3, 4 where pressed before (it should obviously be 8, 4, 4).
Two thoughts on that:
~Why are you testing MORE THAN 1 button (1 and 2 and 3 and 4). The puzzle states that you only need to press ONE more button to solve it
~Ask yourself âHow can I get the puzzle back to the state it was at before I pressed this last button?â And then do that each time. If you are not sure, you can play Merlinâs Magic Square in the simulator I made (Link to that is toward the bottom of the puzzle description.)
Oh. Actually. Youâre right. For some reason, even after playing the game, I had it stuck in my head that the corners only lit up the two buttons next to them, not also the center. That is my error.
My solution passes all the tests in the IDE, and all the validators but Validator 4. Is there something special about that one, that differs from the others and from Test 4?
Interesting. It seems there was (maybe) an extra blank-space at the very end of the input in Validator 4, that didnt need to be there.
I have now removed it.
Let me know if itâs still a problem.