I'm not confident enough to be sure about this, so I'm asking:
Is the following code fine for verifying if a piece that can perform moves only as and alfil and ThreeLeaper (or Trebuchet as is also called) but can both move and capture as a regular knight ?
checkleap #0 #1 3 0 and nor capture nor empty #0 empty #1 or checkleap #0 #1 2 2 and nor capture nor empty #0 empty #1 or checkleap #0 #1 2 1;
As a sorce of inspiration I had used your anglican bishop code in Caissa Britania :)!
@Fergus
I'm not confident enough to be sure about this, so I'm asking:
Is the following code fine for verifying if a piece that can perform moves only as and alfil and ThreeLeaper (or Trebuchet as is also called) but can both move and capture as a regular knight ?
checkleap #0 #1 3 0 and nor capture nor empty #0 empty #1 or checkleap #0 #1 2 2 and nor capture nor empty #0 empty #1 or checkleap #0 #1 2 1;
As a sorce of inspiration I had used your anglican bishop code in Caissa Britania :)!
Thanks!...