[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]
Single Comment
I have added a new command to the Pawn subroutines in the chess.txt and chess2.txt include files. This new command, called askpromote, will ask you what you want to promote a Pawn to when you advance a Pawn to the last rank without promoting it first. This is useful with point-and-click movement, in which you get to make only the first part of your move before the move gets entered into Game Courier. This will affect other presets that use these subroutines. I have made use of the wprom and bprom variables, which are arrays of all the pieces each Pawn may promote to, based on the assumption that a Pawn may promote to any piece of its own color originally on the board besides a King and a Pawn. Since names aren't programmed into the presets, it uses piece images to identify the pieces.