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;
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;