11-15-2021, 11:28 AM
Hi,
The syntax for what you wish is
Here that means the pattern you are describing has to be checked with alternately a piece corresponding to the index of the mover (so if you have only one piece this index is the same as the piece) and then an empty site.
I join in attachment the lud file showing you that in a concrete (easy) example game.
Regards,
Eric
The syntax for what you wish is
Code:
(is Pattern {F F R F F R F F R F F} whats:{(mover) 0 (mover) 0 (mover) 0 (mover) 0})
Here that means the pattern you are describing has to be checked with alternately a piece corresponding to the index of the mover (so if you have only one piece this index is the same as the piece) and then an empty site.
I join in attachment the lud file showing you that in a concrete (easy) example game.
Regards,
Eric