Neat variation on LightsOut (<a href="http://chenglou.github.io/react-lights-out/" rel="nofollow">http://chenglou.github.io/react-lights-out/</a>). I had some trouble since the rules for which lights toggle are slightly different with this one:<p>Classic lights out only toggles the light you press and the 4 lights in the 4 cardinal directions. I was surprised how baked into my brain that was and how much trouble I had getting my brain to adapt.
I wanted to sketch this idea of a puzzle game that I came up with while on a walk. It turned out to roll pretty well though it couldn't be any more minimal.<p>Simple things are pretty powerful sometimes, don't you think?
Like Lights Out, this game can be solved using Gaussian elimination over Z/2 (integers modulo 2). This means the order of the tiles you press do not matter, and that you can solve the board by forming the desired pattern row by row.
Cool! I was inspired to write an implementation of the game in K: <a href="http://johnearnest.github.io/ok/ike/ike.html?gist=0007b9afbe6e625b25e95eb286e32b98" rel="nofollow">http://johnearnest.github.io/ok/ike/ike.html?gist=0007b9afbe...</a>
I used to play something similar all the time on my Merlin back in 1978. <a href="https://en.wikipedia.org/wiki/Merlin_(game)" rel="nofollow">https://en.wikipedia.org/wiki/Merlin_(game)</a>
Got an excel solver for the 3x3<p>I'd share i'd via google spreadsheet if I could do it anonymously without creating a throwaway account<p>(All this in 3x3 grids, with the numbers mod 2)<p>- 1. Add the current light up state to the desired light state (chessboard)<p>- 2. Create a grid that's lit up as if from button presses from previous grid (using the game rules)<p>- 3. Flip the positions of the previous grid across the center. This grid is the grid of buttons to push<p>No idea how it works though, and it doesn't seem to work in the 4x4 case either
I did it in one move ;). Pretty neat game.<p><a href="http://imgur.com/f5sryfs" rel="nofollow">http://imgur.com/f5sryfs</a>