🕸Fergus Duniho wrote on Sun, Jun 3, 2012 10:42 PM UTC:
The functions and subroutines you're calling do not match up with the ones defined in the include file you are including. Note that chess and chess2 are not compatible with each other. These two include files do things very differently. You have included chess2, but the rest of your code seems designed for chess. The chess include file is optimized for Chess, and the chess2 include file uses a more generalized approach that is easier to adapt to other variants. The chess include file cannot be used for hopping pieces, but you should be able to adapt it for use with leapers and riders. If you use this include file, you will need to write separate functions for moving a piece and for spotting checks from the piece. You have not done the latter. Whichever you use, you have some more programming to do before you get your preset to work right. Examine it closely, and examine the preset that uses it to learn what kind of code needs to be used with it.