Carlos Cetina wrote on Wed, Jul 1, 2020 02:23 PM UTC:
@Fergus,
Trying to edit a preset for this interesting variant by using the fairychess include file I'm almost done, just need to define the function of the Osprey which is a color-bound aanca, first jumping as dabbabah and then sliding outward as bishop. The following diagram shows its move:
I guess the code for Osprey-Range would look like this:
def Osprey-Range mergeall
leaps #0 2 0
rays where #0 0 2 1 1
rays where #0 0 -2 1 1
rays where #0 2 0 1 1
rays where #0 -2 0 1 1;
and the Osprey-Desc thus:
"The %s jumps to the second square on the same rank or file, and then slides outward as a bishop."
Could you please tell me the code for such a function? No hurry; when you can spend some time it's fine. Thanks in advance.
@Fergus,
Trying to edit a preset for this interesting variant by using the fairychess include file I'm almost done, just need to define the function of the Osprey which is a color-bound aanca, first jumping as dabbabah and then sliding outward as bishop. The following diagram shows its move:
I guess the code for Osprey-Range would look like this:
and the Osprey-Desc thus:
Could you please tell me the code for such a function? No hurry; when you can spend some time it's fine. Thanks in advance.