The Chess Variant Pages

[ 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

This item is a game information page
It belongs to categories: Two dimensional, Orthodox chess set but with different winning conditions
It was last modified on: 2020-12-22
 Author: Hans L. Bodlaender. Inventor: Bruce  Zimov. Knightmate. Win by mating the knight. (8x8, Cells: 64) [All Comments] [Add Comment or Rating]
H. G. Muller wrote on 2020-12-22 UTC

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);