X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=data%2Ffmax.ini;h=0384ecd58701ec0a7084ff41555e8291c5fb554e;hb=288850bacd0c95c03b18c269e374adbb3cab1a60;hp=c7e6b124ce1b3cbe78dee39d88fd173d0c626745;hpb=feed3d023b7ddfbaa90bb4ef3b4607a2bd93cf0e;p=fairymax.git diff --git a/data/fmax.ini b/data/fmax.ini index c7e6b12..0384ecd 100644 --- a/data/fmax.ini +++ b/data/fmax.ini @@ -135,21 +135,21 @@ Line 2: initial setup of white pieces on back rank Line 3: initial setup of black pieces on back rank Line 4-18: Description of piece types that can occur in the variant -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. +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 currently undefined. - -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 + +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 variant description) are ignored. They can be used for comments. @@ -166,17 +166,24 @@ The piece-description lines have the following syntax: c) the move-mode descriptor, most easily given in hexadecimal, as the individual bits specify the various options -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 +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). + +Pieces with negative values are considered royal. If one side has more than +one royal piece of the same type, he loses if the _last_ one is captured, +with the special rule that he is not allowed to leave more than one of +them under attack. This means the 'spare' royal pieces can be sacrificed, +and the exchange value assumed for them will be the absolute value of what +you define for them. + +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 individual bits in the move-mode descriptor have the following meaning: In the last hexadecimal digit: 1 capture allowed (of enemy piece; own pieces always block a move) @@ -392,7 +399,7 @@ m:-1 1,34 -1,34 1,7 16,7 15,7 17,7 -1,7 -16,7 -15,7 -17,7 16,70 -16,70 d:625 1,7 16,7 -1,7 -16,7 15,3 17,3 -15,3 -17,3 // Set for Chess with Different Armies, FIDE vs Color-bound Cloberers (legality-testing off!) -Game: fairy +Game: fairy/FIDE-Clobberers 8x8 6 4 5 7 3 5 4 6 11 9 10 12 8 10 9 11