04-25-2021, 12:49 AM
(This post was last modified: 04-25-2021, 01:11 AM by dale walton.
Edit Reason: Describe bug more accurately
)
Further to the above:
In 1.1.16 I got a hobbled version (Branch2) to work using replacement and testing based on group's contents of neutrals.
Branch2 doesn't do the proper test of 2 independent connections to edge, it only checks for 2 neighbors.
See Barnch2 Coral - working (but note this 1.1.17 bug:)
In 1.1.17 this can hang at the end in auto play, when the winning AI bot has to pass in order to finish the game that it has won.
If I ^C in the terminal and re-start, the full game comes up with the AI not yet moving, and showing "You must Pass" as before.
Then I can complete the game by manually clicking pass, and it shows the winner, but under the game it reads: "That is not a valid Move"
After a few seconds that warning is replaced by the standard "Choose Game> Restart to play again"
This method is slow, so I tried to replace it.
(For Brain Coral I was able to replace it with your "finite steps to outer" method of testing on a board without neutral pieces.)
However, the attached attempt for "Branch2 Coral bug" does not compile, even though I tried to keep the structure similar.
Finally, the game I am actually trying to script, needs to check for independent paths. I was unable to get it to work for either system.
In the "Branch Coral bug" the consequence part does not compile but I had the part above it compiling without it.
It seems the problem is in the (do(can Move()ifAfterwards()) when it is part of a consequence. but there might be other problems as well.
Please test it out.
In 1.1.16 I got a hobbled version (Branch2) to work using replacement and testing based on group's contents of neutrals.
Branch2 doesn't do the proper test of 2 independent connections to edge, it only checks for 2 neighbors.
See Barnch2 Coral - working (but note this 1.1.17 bug:)
In 1.1.17 this can hang at the end in auto play, when the winning AI bot has to pass in order to finish the game that it has won.
If I ^C in the terminal and re-start, the full game comes up with the AI not yet moving, and showing "You must Pass" as before.
Then I can complete the game by manually clicking pass, and it shows the winner, but under the game it reads: "That is not a valid Move"
After a few seconds that warning is replaced by the standard "Choose Game> Restart to play again"
This method is slow, so I tried to replace it.
(For Brain Coral I was able to replace it with your "finite steps to outer" method of testing on a board without neutral pieces.)
However, the attached attempt for "Branch2 Coral bug" does not compile, even though I tried to keep the structure similar.
Finally, the game I am actually trying to script, needs to check for independent paths. I was unable to get it to work for either system.
In the "Branch Coral bug" the consequence part does not compile but I had the part above it compiling without it.
It seems the problem is in the (do(can Move()ifAfterwards()) when it is part of a consequence. but there might be other problems as well.
Please test it out.