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

Game Courier Developer's Guide. Learn how to design and program Chess variants for Game Courier.[All Comments] [Add Comment or Rating]
🕸📝Fergus Duniho wrote on Thu, Feb 26, 2004 03:32 AM UTC:
This guide now describes the following new commands:

setflag, unsetflag, copyflag

add, move, replace

if, else, elseif, endif, verify

The verify command was already available, but it has now been greatly
expanded.

I created some of these commands for use with Crazyhouse, and I created
others because of their similarity to other commands I was creating. In
particular, the new Crazyhouse preset tracks Pawns with flags, uses verify
to check the flag of a captured piece, then uses add to change it to a
Pawn if it used to be one. Although I didn't use them, I also figured out
how to implement nesting if, if-else, and if-elseif-else statements. I
haven't thoroughly tested them out yet, but I expect they should work.