Check out Grant Acedrex, our featured variant for April, 2024.


[ Help | Earliest Comments | Latest Comments ]
[ List All Subjects of Discussion | Create New Subject of Discussion ]
[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Single Comment

The Fairychess Include File Tutorial. How to use the fairychess include file to program games for Game Courier.[All Comments] [Add Comment or Rating]
Aurelian Florea wrote on Wed, Apr 1, 2020 10:37 AM UTC:

I want to give the virgin king the 4 moves of the camel and knight that end up 1 rank below (above if black).

You have sugested this for the king:

def Apothecary_King blah blah blah;

def Apothecary_King-Range blah blah blah;

alias King Apothecary_King;

set k King;

set K King;

and for blah blah I tried this :

def Apothecary_King checkleap #0 #1 1 1 or checkleap #0 #1 1 0 or
(and and and K1stmove (isupper moved) (-1 == minus rank dest moved rank origine moved) (or checkleap #0 #1 2 1 checkleap #0 #1 3 1))or (and and and k1stmove (islower moved) (1 == minus rank dest moved rank origine moved) (or checkleap #0 #1 2 1 checkleap #0 #1 3 1));

and none works. If I give the king any other power that default I get an error. Usually is "Checkmated Black has won".

Thanks