|
|
|
Your skill will accomplish what the force of many cannot |
|
| PerlMonks |
Re: Lights out puzzle (non-perl solution)by ambrus (Abbot) |
| on Nov 29, 2011 at 14:38 UTC ( #940636=note: print w/ replies, xml ) | Need Help?? |
|
Here's a non-perl solution, with explanation. For larger boards, this one is much faster than my program above. (You could try (29, 30, 2) or (39, 40, 2) as large examples where there's a unique button combination this program finds very quickly but that would take ages to found with the previous program.) <Reveal this spoiler or all in this thread>
In Section
Meditations
|
|
||||||||||||||||||||||