06-07-2021, 05:39 PM
(This post was last modified: 06-07-2021, 05:40 PM by Eric Piette.)
Hi,
Unfortunately, when you use only (is Loop), the player placing the piece is relevant, because if you look at the documentation of (is Loop) when no colour has been specified the colour of the mover is taken. Consequently here, when P2 is playing, that ludeme is trying to find a loop with the pieces of P2.
To do what you want with the pieces of P1, you have to use (is Loop (id P1)). But the detection of Loop is working with the correct parameters.
However, I will improve that ludeme to be more generic like I said to you in my previous messages, so when I will do that, the description of (is Loop) is going to change anyway.
Regards,
Eric
Unfortunately, when you use only (is Loop), the player placing the piece is relevant, because if you look at the documentation of (is Loop) when no colour has been specified the colour of the mover is taken. Consequently here, when P2 is playing, that ludeme is trying to find a loop with the pieces of P2.
To do what you want with the pieces of P1, you have to use (is Loop (id P1)). But the detection of Loop is working with the correct parameters.
However, I will improve that ludeme to be more generic like I said to you in my previous messages, so when I will do that, the description of (is Loop) is going to change anyway.
Regards,
Eric