03-25-2021, 10:08 AM
Another example possibly related or not.
In this version the AI also hangs, but playing by hand I purposely create a situational repeat. In the script, such repeats are allowed, and should be handled by the removal code, but here the choice to play the piece causing the repeat is not offered.
(I modified the game here to remove only the opponents' piece, but this is not relevant.) I also modified the coding to an earlier approach, so the logic is different.
In this version the AI also hangs, but playing by hand I purposely create a situational repeat. In the script, such repeats are allowed, and should be handled by the removal code, but here the choice to play the piece causing the repeat is not offered.
(I modified the game here to remove only the opponents' piece, but this is not relevant.) I also modified the coding to an earlier approach, so the logic is different.