Comments/Ratings for a Single Item
The new Grand Chess preset I've been working on is ready for some beta-testing. It is currently using a test version of the fairychess include file. If it looks like it's ready, I'll copy the test version to the official fairychess include file and officially release the new preset.
https://www.chessvariants.com/play/pbm/play.php?game=Grand+Chess&settings=fairychess
This seems to work perfectly. You can only promote to captured pieces. Does not offer promotion if none is available. Does not allow pawn move to 10th rank if no promotion is available, but still does give check. Does not allow two different pawns to promote to the same captured piece... Everything I can think to test works correctly.
Okay, I copied the test version of the fairychess include file to the official fairychess include file, and I updated this page to use the new fairychess settings file. I also removed debugging code from it and modified the descriptions of the Pawn and King to reflect the rules of Grand Chess.
So you had changed most of the handling to the pieces in reserve from inside the pawns sub to the main program. I think this would give me less headaches when I apply it to my 2 apothecary games.
Just a note on a game of Grand Chess I'm playing right now with Vitya. The preset is showing extra words in the comment box after each move and/or comment, about the preset enforcing rules (no big deal, but I thought I'd mention it):
https://www.chessvariants.com/play/pbm/play.php?game=Grand+Chess&log=panther-cvgameroom-2020-117-347
I just changed say to remind so that it won't do that anymore. The say command normally enters its text as a comment, because it is normally used to report game conditions like check, checkmate, and stalemate.
7 comments displayed
Permalink to the exact comments currently displayed.
I have just finished some updates to this preset. These updates add new features that I added to Game Courier after I originally wrote this preset, and I do not expect that they will break any past games. First, I updated it to display the Pawn's double move when displaying legal moves. Second, I updated it to handle Pawn promotions without requiring the players to manually enter the notation for it. When a Pawn cannot promote to anything, it will not do anything except prevent it from moving to the last rank. When there is a single captured piece it can promote to, and it moves to the last rank, it will handle the promotion automatically. When there is more than one piece a Pawn may promote to, or there is only one, and it has the option of remaining a Pawn, it will ask what piece to promote the Pawn to. If the Pawn is selected, it will add "P-dest" to White's move or "p-dest" to Black's. This pseudo-promotion has no effect on the course of the game, but it serves as a flag to not ask about promotion each time it evaluates the move again during the course of the game.