Line 3: initial setup of black pieces on back rank\r
Line 4-18: Description of piece types that can occur in the variant\r
\r
-There can be upto 15 piece types per variant, numbered 1 to 15.
-Numbers 1 and 2 are considered Pawns for white and black, respectively,
-and the 2nd and 7th rank of the opening setup will be filled with them.
-These pieces will automatically promote to piece number 7 when they
-reach last rank. So in normal Chess, piece 7 should be programmed as Queen.
-
-Castling can be done only with the original corner piece as specified
-by line 2 and 3. Any royal piece can in principle castle. (Subject to
-the normal restrictions on castling, i.e. not passing through check etc.)
-If you don't want that, remove the castling moves from the King description.
-If the castling initiator does not start in a central file, the results are
+There can be upto 15 piece types per variant, numbered 1 to 15.\r
+Numbers 1 and 2 are considered Pawns for white and black, respectively,\r
+and the 2nd and 7th rank of the opening setup will be filled with them.\r
+These pieces will automatically promote to piece number 7 when they \r
+reach last rank. So in normal Chess, piece 7 should be programmed as Queen.\r
+\r
+Castling can be done only with the original corner piece as specified\r
+by line 2 and 3. Any royal piece can in principle castle. (Subject to \r
+the normal restrictions on castling, i.e. not passing through check etc.)\r
+If you don't want that, remove the castling moves from the King description. \r
+If the castling initiator does not start in a central file, the results are \r
currently undefined.\r
-
-Most variant definitions can be seen at the end of this file.
-Other lines in this file (i.e. those not recognized as belonging to a
+\r
+Most variant definitions can be seen at the end of this file.\r
+Other lines in this file (i.e. those not recognized as belonging to a\r
variant description) are ignored. They can be used for comments.\r
\r
\r
c) the move-mode descriptor, most easily given in hexadecimal, as the\r
individual bits specify the various options\r
\r
-The piece indicator character is used to set up positions, and for the
-promotion choice as 5th character of an input move. (Fairy-Max itself
-always promotes to "Queen", i.e. the 7th piece of the list.)
-If more pieces use the same letter, the first one is used for white,
-and the last one for black. If more than two have the same name, the
-others cannot be indicated at all, but they could still occur in the
-initial setup (where you specify them by number, not letter).
-
-NOTE: piece value 181 for piece 7 is reserved for Makruk, and enables
-promotion on the 6th rank. Do not use it in other variants.
-
+The piece indicator character is used to set up positions, and for the\r
+promotion choice as 5th character of an input move. (Fairy-Max itself\r
+always promotes to "Queen", i.e. the 7th piece of the list.)\r
+If more pieces use the same letter, the first one is used for white,\r
+and the last one for black. If more than two have the same name, the \r
+others cannot be indicated at all, but they could still occur in the\r
+initial setup (where you specify them by number, not letter).\r
+\r
+NOTE: piece value 181 for piece 7 is reserved for Makruk, and enables\r
+promotion on the 6th rank. Do not use it in other variants.\r
+\r
The individual bits in the move-mode descriptor have the following meaning:\r
In the last hexadecimal digit:\r
1 capture allowed (of enemy piece; own pieces always block a move)\r