[ 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 Expanded Chess. An attempt at a logical expansion of Chess to a 10x10 board.[All Comments] [Add Comment or Rating] Carlos Cetina wrote on Fri, Jul 3, 2020 02:24 AM UTC:With the following code I have made some progress because the piece already can make the desired legal moves: def Osprey fn (checkride #0 #1 1 1 and empty #0) where #0 0 * 2 sign - rank #1 rank #0 #1 or fn (checkride #0 #1 1 1 and empty #0) where #0 * 2 sign - file #1 file #0 0 #1 or checkleap #0 #1 2 0; 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; However something must be wrong since the program allows the Osprey to be moved as ferz. What do you think is the cause?
With the following code I have made some progress because the piece already can make the desired legal moves:
def Osprey fn (checkride #0 #1 1 1 and empty #0)
where #0 0 * 2 sign - rank #1 rank #0
#1
or fn (checkride #0 #1 1 1 and empty #0)
where #0 * 2 sign - file #1 file #0 0
#1
or checkleap #0 #1 2 0;
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;
However something must be wrong since the program allows the Osprey to be moved as ferz. What do you think is the cause?