X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=data%2Ffmax.ini;h=c7e6b124ce1b3cbe78dee39d88fd173d0c626745;hb=feed3d023b7ddfbaa90bb4ef3b4607a2bd93cf0e;hp=97fbe64043cc8784786f98186fe13715e5232804;hpb=fdf66eac581c8557076faed62f45ef714ded2edd;p=fairymax.git diff --git a/data/fmax.ini b/data/fmax.ini index 97fbe64..c7e6b12 100644 --- a/data/fmax.ini +++ b/data/fmax.ini @@ -133,11 +133,24 @@ After that follow upto 18 lines with the description. Line 1: Board size (files x ranks). Ranks must currently still be 8. Line 2: initial setup of white pieces on back rank Line 3: initial setup of black pieces on back rank -Line 4-10: Description of pieces present in the opening position -Line 11-18: Description 8 additional piece types - -The rest of the lines is ignored, but some pre-cooked descriptions are -provided for easy copying into the first positions. +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 +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 +variant description) are ignored. They can be used for comments. @@ -153,6 +166,17 @@ 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 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) @@ -208,10 +232,6 @@ black Pawn, respectively, or promotions will have undefined effects. Also note that uMax does do primitive evaluation of Pawn structure, which might become counter-productive if the Pawn move is changed. -Castling is done with the Rook replacement (the piece that starts in the -corner, whatever its type). If you don't want that, remove the castling -moves from the King desription. If the castling initiator does not start -in a central file, the results are currently undefined. For the truly lazy, a few complete game descriptions can be found below: @@ -245,6 +265,24 @@ q:180 15,7 17,7 -15,7 -17,7 e:110 30,7 34,7 -30,7 -34,7 f:180 15,7 17,7 -15,7 -17,7 +// Thai Chess. Note: value m = 181 controls promotion at 6th! +Game: makruk +8x8 +6 4 5 7 3 5 4 6 +6 4 8 3 7 8 4 6 +p:100 -16,6 -15,5 -17,5 +p:100 16,6 15,5 17,5 +k:-1 1,7 16,7 15,7 17,7 -1,7 -16,7 -15,7 -17,7 +n:450 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7 +s:300 15,7 17,7 -15,7 -17,7 -16,7 +R:630 1,3 16,3 -1,3 -16,3 +m:181 15,7 17,7 -15,7 -17,7 +s:300 15,7 17,7 -15,7 -17,7 16,7 +f:181 15,7 17,7 -15,7 -17,7 +q:181 15,7 17,7 -15,7 -17,7 +b:300 15,7 17,7 -15,7 -17,7 -16,7 +b:300 15,7 17,7 -15,7 -17,7 16,7 + // Medieval intermediate between Shatranj and FIDE Chess Game: courier 12x8 @@ -319,7 +357,7 @@ b:450 15,103 17,103 -15,103 -17,103 R:525 1,103 16,3 -1,103 -16,3 Q:1150 1,103 16,3 15,103 17,103 -1,103 -16,3 -15,103 -17,103 -// Berolina Chess. In WinBoard 4.3.15 you can play this with legality testing switched off +// Berolina Chess. In WinBoard 4.3.15 you can play this with legality testing switched off Game: berolina 8x8 6 4 5 7 3 5 4 6 @@ -353,27 +391,27 @@ g:640 1,7 16,7 15,7 17,7 -1,7 -16,7 -15,7 -17,7 2,7 30,7 32,7 34,7 -2,7 -30,7 -3 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 8x8 -10 9 8 7 3 5 4 6 -10 9 8 7 3 5 4 6 +6 4 5 7 3 5 4 6 +11 9 10 12 8 10 9 11 p:100 -16,24 -16,6 -15,5 -17,5 p:100 16,24 16,6 15,5 17,5 -k:-1 1,34 -1,34 1,7 16,7 15,7 17,7 -1,7 -16,7 -15,7 -17,7 +k:-1 1,34 -1,34 1,7 -1,7 16,7 15,7 17,7 -16,7 -15,7 -17,7 n:325 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7 b:350 15,3 17,3 -15,3 -17,3 -R:500 1,3 16,3 -1,3 -16,3 +R:500 16,3 -16,3 -1,3 1,3 Q:950 1,3 16,3 15,3 17,3 -1,3 -16,3 -15,3 -17,3 -e:60 30,7 34,7 -30,7 -34,7 -H:560 14,3 31,3 33,3 18,3 -14,3 -31,3 -33,3 -18,3 -O:320 1,BA 16,BA -1,BA -16,BA +k:-1 1,34 -1,1034 1,7 -1,7 16,7 15,7 17,7 -16,7 -15,7 -17,7 +e:320 30,7 34,7 -30,7 -34,7 16,7 -16,7 1,7 -1,7 +c:480 15,7 17,7 -15,7 -17,7 32,7 -32,7 2,7 -2,7 30,7 34,7 -30,7 -34,7 +l:530 15,3 17,3 -15,3 -17,3 32,7 -32,7 2,7 -2,7 A:875 15,3 17,3 -15,3 -17,3 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7 -C:900 1,3 16,3 -1,3 -16,3 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7 -v:850 1,7 16,7 15,7 17,7 -1,7 -16,7 -15,7 -17,7 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7 -Z:1260 1,3 16,3 -1,3 -16,3 15,3 17,3 -15,3 -17,3 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7 m:275 1,7 16,7 15,7 17,7 -1,7 -16,7 -15,7 -17,7 +H:560 14,3 31,3 33,3 18,3 -14,3 -31,3 -33,3 -18,3 -// Great Shatranj: modern variant with range-two leapers replacing sliders, on 10x8 board +// Great Shatranj: modern variant with range-two leapers replacing sliders, on 10x8 board. // Must be played with legality testing off in XBoard 4.4.0. Game: great 10x8