07-17-2022, 12:13 PM
The web site shows Polypods on a tictactoe board??? I assume this is the problem you mentioned.
This caused me to write the script for square grid Polypods.
Along with a different grid, the definition of feet changes to connected to no more than one friendly stone.
Connections are orthogonal.
In testing I discovered two bugs in the original script:
1) the rules gave a draw for equal scores after the tie-breaker. - The script did not.
2) an exceptional case rule is needed to avoid complicated exceptions:
If a move that causes the death of an opponent's polypod consequently causes the death of one's own polypod, that move is not allowed.
(This is an extension of the no suicide rule.)
The new script and the revised script are attached.
This caused me to write the script for square grid Polypods.
Along with a different grid, the definition of feet changes to connected to no more than one friendly stone.
Connections are orthogonal.
In testing I discovered two bugs in the original script:
1) the rules gave a draw for equal scores after the tie-breaker. - The script did not.
2) an exceptional case rule is needed to avoid complicated exceptions:
If a move that causes the death of an opponent's polypod consequently causes the death of one's own polypod, that move is not allowed.
(This is an extension of the no suicide rule.)
The new script and the revised script are attached.