A lightsout game can be solved using Gaussian elimination. A special matrix
A needs to be used to solve
b is the current
board configuration and
x is the solution. This function returns
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.