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]
A. M. DeWitt wrote on Wed, Oct 6, 2021 02:17 PM UTC:

Is there a way to detect suicide moves in GAME code? The new version of Suzumu Shogi gives the Fire Demon the ability to shoot an adjacent piece after moving, And I'm trying to figure out how to implement it into the game's GC preset. I think suicides may be the best option since it won't have much impact on the existing code, but the checks required to properly enforce the rules pertaining to the burning move will need to do be able to do the following:

  • Detect a suicide move that has occured on the board
  • Detect a suicide move within the move string