I guess I should link to the code : <a href="https://github.com/tburette/gameaboutsquaressolver" rel="nofollow">https://github.com/tburette/gameaboutsquaressolver</a><p>I did this more to play with chrome extension. It's a nice problem to write some AI code: deterministic, single agent, easy to solve some levels but takes some thinking to solve them all.