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

Knightmate. Win by mating the knight. (8x8, Cells: 64) [All Comments] [Add Comment or Rating]
H. G. Muller wrote on Tue, Dec 22, 2020 04:30 PM UTC in reply to Greg Strong from 04:01 PM:

No, the Applet always considers the King royal, and keeps the order as it is in the selection table (so that Pawns will lead the list). This is just because I tried to keep the interface as simple as possible, and an overwhelming majority of all variants would need it this way.

When making a Diagram it is easy enough to edit the generated HTML definition for swapping the order of the piece lines, or altering the royal parameter value. In the generated GAME code such post-editing is also the easiest solution to the rare cases where you would want it differently. I described this in the Game-code-generation tutorial ('Multiple royals' section). You just have to put your own assignments to the (array) variables wroyal and broyal, to overrule the default setting the include file gives them:

set wroyal (N);          // royal pieces
set broyal (n);