Check out Balbo's Chess, our featured variant for October, 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. PHP script for playing Chess variants online.[All Comments] [Add Comment or Rating]
A. M. DeWitt wrote on Sun, Nov 3, 2019 05:58 PM UTC:

After a period of experimentation and looking at the How to Program Multi-Move Variants for Game Courier documentation, I managed to create a preset for my game Suzumu Shogi that can enforce rules for piece movement, display legal moves, and correctly handle both single moves and double moves. I am quite proud of it, actually.

However, no matter how hard I try, I cannot get the preset to correctly handle all promotions. The systems I came up with could handle promotions after a single move, but when the preset used the askpromote command to determine a promotion after a double move, the code would exit with an error message where the last move made had the first move in the sequence repeated. Any advice on how I should handle this would be greatly appreciated.

The preset for the game can be found here (Note that it does not support promotions): https://www.chessvariants.com/play/pbm/play.php?game%3DSuzumu+Shogi%26settings%3Ddefault