🕸📝Fergus Duniho wrote on Thu, Dec 23, 2004 05:41 AM UTC:
I am currently developing code for checking whether a player is checkmated
or stalemated. It is not all working right yet, but if anyone wants to
take a look at it, you will find it here:
http://play.chessvariants.org/pbm/includes/checkmate.txt
I am using it with a new version of the Chess preset:
http://play.chessvariants.org/pbm/play.php?game=Chess&settings=checkmate
This preset is only for testing and should not be used for ongoing games.
Also, so that single and double quotation marks can be entered in the form
fields for GAME Code, I have switched to storing strings in settings files
with the heredoc format. This will not affect current presets unless they
are resaved.