02-28-2023, 12:14 AM
Here is a pastebin with the ludii file:
https://pastebin.com/UmTgzZwM
Ignore the metadata, which is just copied from the Chess Ludeme.
I haven't tried the "Test Ludeme" dialog. I did some testing with the code that I have - it seems to count each "between" space individually.
If I set the minimum count to 0, the "if" statement does nothing (which makes sense). If I set it to 1, it works if and only if every "between" space is the target piece type (not a minimum of 1 of that piece, every "between" space is that piece). If I set it to 2 or more, the movement option is never allowed.
https://pastebin.com/UmTgzZwM
Ignore the metadata, which is just copied from the Chess Ludeme.
I haven't tried the "Test Ludeme" dialog. I did some testing with the code that I have - it seems to count each "between" space individually.
If I set the minimum count to 0, the "if" statement does nothing (which makes sense). If I set it to 1, it works if and only if every "between" space is the target piece type (not a minimum of 1 of that piece, every "between" space is that piece). If I set it to 2 or more, the movement option is never allowed.