🕸📝Fergus Duniho wrote on Fri, Nov 26, 2004 02:16 AM UTC:
I think Game Courier could handle a three-step Pawn move without an
additional function. Assuming Pawns begin on the second rank, like so:
set legal and checkaride origin dest 0 1 less rankname dest 6;
The same principle can be used for a piece with limited movement, such as
an R4, which moves as a Rook no more than four spaces.
set legal and checkride origin dest 0 1 or less abs minus rank origin rank
dest 5 less abs minus file origin file rank 5;
A cursed Queen, which I think is limited to three spaces, like so:
set legal and or checkride origin dest 0 1 checkride origin dest 1 1 and
less abs minus rank origin rank dest 4 less abs minus file origin file
rank 4;