12-05-2020, 04:42 PM
I thought I was finished with a version of the game I'm working on, but when watching Ludii play itself I noticed moves I could not explain. I cannot find anything in my script that can cause this behavior.
In one of the attached trials you can see that after move 26, suddenly an illegal move can be made. Move 27 is illegal because it moves an entire stack without increasing the distance (measured in steps) from (centrePoint). In the other trial you can se that it is impossible to make the corresponding move.
My problem is that I cannot see that anything relevant is different between the two cases. I'm really stumped. How do I proceed when I am this lost and confused?
The illegal move is an instance of ("MoveStackPart"). But this ludeme should not let you move all the pieces in a stack.
If any one could help me I would be eternally grateful.
In one of the attached trials you can see that after move 26, suddenly an illegal move can be made. Move 27 is illegal because it moves an entire stack without increasing the distance (measured in steps) from (centrePoint). In the other trial you can se that it is impossible to make the corresponding move.
My problem is that I cannot see that anything relevant is different between the two cases. I'm really stumped. How do I proceed when I am this lost and confused?
The illegal move is an instance of ("MoveStackPart"). But this ludeme should not let you move all the pieces in a stack.
If any one could help me I would be eternally grateful.