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 Mon, Mar 23, 2020 03:25 PM UTC:

Hey Fergus.

I am having trouble understanding how to adapt the code below from the How to enforce rules documentation to work with the new fairy chess include file:

if sub moved origin dest and match moved P K:
elseif fn moved origin dest and match moved Q R B N:
else:
  die You may not move a moved from origin to dest;
endif;