Fixed...you try this it calls you a cheater lol
Discussion
Hahaha
But player B can always win, or am I missing something?

with two squares i'm pretty sure player B always wins lol
This was a great solution, although I have no idea how it could be implemented.
Same for the code that decides who won. I was almost amazed at it when it committed a mistake:

By the way, if you get back to it, I think we need more space around the squares still (and smaller squares).
That's probably a mistake in how path spacing is detected. I've run into this a couple of times getting too close to a square and it thinks I tried to go through the square. I'm sure with some fine tuning it can get the math right.
And yeah, def need more game board space.
