There are still some annoying bugs:
- Anchors are sometimes overlapping, making them impossible to move
- I'm not sure all the puzzles have a valid solution
- There is an easy way to cheat
I can't prove it mathematically but I have a hunch that there is no solution if you wind up with only a single intersection left. I've read about this type of problem and that seems like one of those cases where the number of connectors can make the puzzle mathematically impossible.
You could try generating a solved puzzle and jumble the pieces so that the player has to unscramble them. There are two problems to solve here: you have to generate a solved puzzle where none of the lines are similar enough to fall prey to the "cheat", and you have to keep the anchors from overlapping when you jumble them.
[Please log in to post a comment]