Check out Janggi (Korean Chess), our featured variant for December, 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

Coherent Chess (updated). http://www.chessvariants.org/large.dir/coherent.html.[All Comments] [Add Comment or Rating]
🕸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.