[solved] Lights out puzzle solver

Discussion of non-phpBB related topics with other phpBB.com users.
Forum rules
General Discussion is a bonus forum for discussion of non-phpBB related topics with other phpBB.com users. All site rules apply.
Post Reply
User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

[solved] Lights out puzzle solver

Post by Jessica » Wed Jul 31, 2019 6:08 pm

I need a little help with this. A while back I found a Lights out puzzle solver and I copied the code for it so I can have one of my own and perhaps modify it. It worked then, but then just recently I stupidly deleted the folder containing all the files. The original page with the solver is no longer around - you get an error.

I've sort of managed to recover the code, but I say sort of because it isn't working. So I am asking for assistance. Is there something missing or wrong with the code that is preventing it from working?

Code:
https://gist.github.com/JessicaC/3e25b1 ... 30be42d35f

Page with solver:
http://chenschool.elementfx.com/lightso ... tsout.html

What this solver is supposed to do is let you customize the puzzle to match the pattern of the Lights out game you are playing, then provide you with the solution (turn it all black). Blue is "lights on", black is the opposite. There are different sizes, and you can have more than two colors. On the solution the "1" is where you are supposed to click. The solver also have randomized puzzles.

Thanks for any help


EDIT: This issue has been solved
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein

Post Reply

Return to “General Discussion”