🕸📝Fergus Duniho wrote on Fri, Jan 14, 2005 01:12 AM UTC:
I have updated the Shogi presets to spot check, checkmate, and stalemate,
and they can now also enforce the rule against checkmating the King with a
Pawn drop. They can also now use aliases for promoted pieces that each
equal the label for its unpromoted state with a + sign in front.
To see the code behind this, check out one of the presets, such as this
one:
http://play.chessvariants.org/pbm/play.php?game%3DShogi%26settings%3DJapanese-PNG&submit=Edit
and the include file used for all Shogi presets:
http://play.chessvariants.org/pbm/includes/shogi.txt