03-17-2021, 06:36 PM
Code:
(count Steps
(step (to if:(is Empty (to))))
(last From)
(last To)
)
The problem does not occur if I don't use the <step> parameter. My question is why this happens.
I have attached a game and a trial. The code is a mess but the relevant parts should be readable. After moving the score should be set to the number of steps the piece moved.