I have an idea for a game that I might post in the future, but one of the pieces in the game moves as a Nightrider, which makes any number of successive Knight leaps in the same direction, stopping on the first capture or short of a friendly piece (like the sliding pieces in Chess), but ignoring intervening pieces that are not directly in its path. This is demonstrated in the attached diagrams.
In theory, it should be pretty easy:
(piece "Nightrider" "SlideCapture" "Knightwalk")
However, that does not work, as Ludii returns this error message:
Unexpected syntax 'F' in '{F F R F [L]}'.
Any help would be greatly appreciated.
In theory, it should be pretty easy:
(piece "Nightrider" "SlideCapture" "Knightwalk")
However, that does not work, as Ludii returns this error message:
Unexpected syntax 'F' in '{F F R F [L]}'.
Any help would be greatly appreciated.