Issue setup command in Makruk
[fairymax.git] / data / fmax.ini
index b64bd6f..39e4d14 100644 (file)
@@ -123,6 +123,12 @@ N:5 16,1070 16,1F070 1,10070 1,FFFF0070 -16,1070 -16,1F070 -1,10070 -1,FFFF0070
 Xiangqi Elephant:\r
 E:1 15,70 17,70 -15,70 -17,70\r
 \r
+LIMITED-RANGE SLIDERS\r
+R3 (range-3 Rook):\r
+D:375 1,443 16,443 -1,443 -16,443\r
+B4 (range-4 Bishop):\r
+A:300 15,843 17,843 -15,843 -17,843\r
+\r
 \r
 \r
 Syntax of a variant description:\r
@@ -192,17 +198,21 @@ promotion on the 6th rank. Do not use it in other variants.
 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
-    2 con-capture allowed (i.e. we can move here if the square is empty)\r
+    2 non-capture allowed (i.e. we can move here if the square is empty)\r
     4 leaper, i.e. move terminates after one step (as opposed to slider)\r
     8 hop over non-empty square (normally occupied squares terminate a move)\r
 Bits set in the forelast digits TOGGLE the corresponding bits in the last\r
 digit. For hoppers when they hop over something, for the other pieces after\r
 every step (so for normal pieces, better not set those bits!).\r
 \r
-The digit before that can only have the 1 or 2 bit set; a 1 indicates the \r
+The digit before that indicates some special things; a 1 indicates the \r
 board should be treated as a cylinder, pieces crossing the right edge \r
 re-entering the board at the left, and vice versa. The 2 bit indicates\r
 the move is a multi-path move, only used for the Falcon in Falcon Chess.\r
+The upper two bits (4 and 8) form a two-bit count, indicating how many\r
+steps the first toggle of the move mode of a slider should be postponed\r
+(4 = 1 step, 8 = 2 steps, C = 3 step). This can be used to define\r
+'limited range' sliders or lame leapers skipping over several squares.\r
 \r
 The higher-order bits toggle corresponding bits in the step vector,\r
 to allow zig-zag paths. Better not set those either, if a straight\r
@@ -296,11 +306,29 @@ q:180 15,7 17,7 -15,7 -17,7
 e:110 30,7 34,7 -30,7 -34,7\r
 f:180 15,7 17,7 -15,7 -17,7\r
 \r
-// Thai Chess. Note: value m = 181 controls promotion at 6th!\r
-Game: makruk\r
+// ASEAN Chess. New form of Makruk\r
+Game: asean\r
 8x8\r
 12 11 8 7 3 8 11 12\r
-12 11 9 3 7 9 11 12\r
+12 11 9 7 3 9 11 12\r
+p:100 -16,6 -15,5 -17,5 \r
+p:100 16,6 15,5 17,5\r
+k:-1  1,7 16,7 15,7 17,7 -1,7 -16,7 -15,7 -17,7\r
+f:180 15,7 17,7 -15,7 -17,7\r
+m:180 15,7 17,7 -15,7 -17,7\r
+s:300 15,7 17,7 -15,7 -17,7 -16,7\r
+q:180 15,7 17,7 -15,7 -17,7\r
+b:300 15,7 17,7 -15,7 -17,7 -16,7\r
+b:300 15,7 17,7 -15,7 -17,7 16,7\r
+s:300 15,7 17,7 -15,7 -17,7 16,7\r
+n:450 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7\r
+R:630 1,3 16,3 -1,3 -16,3\r
+\r
+// Thai Chess.\r
+Game: makruk\r
+8x8=3\r
+12 11 8 3 7 8 11 12\r
+12 11 9 7 3 9 11 12\r
 p:100 -16,6 -15,5 -17,5 \r
 p:100 16,6 15,5 17,5\r
 k:-1  1,7 16,7 15,7 17,7 -1,7 -16,7 -15,7 -17,7\r
@@ -316,7 +344,7 @@ R:630 1,3 16,3 -1,3 -16,3
 \r
 // Cambodian Chess. Like Makruk, but with extra initial King and Met moves\r
 Game: cambodian\r
-8x8\r
+8x8=3\r
 13 12 8 3 7 8 12 13\r
 13 12 9 7 4 9 12 13\r
 p:100 -16,6 -15,5 -17,5 \r
@@ -333,6 +361,20 @@ b:300 15,7 17,7 -15,7 -17,7 16,7
 n:450 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7\r
 R:630 1,3 16,3 -1,3 -16,3\r
 \r
+// Thai Chess variant with Ai-Wok (RNF).\r
+Game: ai-wok\r
+8x8=3\r
+6 5 3 8 7 3 5 6\r
+6 5 4 7 8 4 5 6\r
+p:100 -16,6 -15,5 -17,5 \r
+p:100 16,6 15,5 17,5\r
+s:300 15,7 17,7 -15,7 -17,7 -16,7\r
+s:300 15,7 17,7 -15,7 -17,7 16,7\r
+n:450 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7\r
+R:630 1,3 16,3 -1,3 -16,3\r
+M:1350 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7 1,3 16,3 -1,3 -16,3 15,7 17,7 -15,7 -17,7\r
+k:-1  1,7 16,7 15,7 17,7 -1,7 -16,7 -15,7 -17,7\r
+\r
 // Medieval intermediate between Shatranj and FIDE Chess\r
 Game: courier\r
 12x8\r
@@ -610,6 +652,72 @@ k:-1  1,34 -1,34 1,7 -1,7 16,7 15,7 17,7 -16,7 -15,7 -17,7
 t:485 -16,3 1,3 -1,3 16,7 15,7 17,7\r
 k:-1  1,34 -1,1034 1,7 -1,7 16,7 15,7 17,7 -16,7 -15,7 -17,7\r
 \r
+Game: fairy/FIDE-Rookies # PNBRQ................Kp.............w.mh.s.k\r
+8x8\r
+6 4 5 7 11 5 4 6\r
+8 3 10 9 11 10 3 8\r
+p:100 -16,24 -16,6 -15,5 -17,5 \r
+p:100 16,24 16,6 15,5 17,5\r
+w:310 1,7 16,7 -1,7 -16,7 2,7 32,7 -2,7 -32,7\r
+n:325 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7\r
+b:350 15,3 17,3 -15,3 -17,3\r
+R:500 16,3 -16,3 -1,3 1,3\r
+Q:950 1,3 16,3 15,3 17,3 -1,3 -16,3 -15,3 -17,3\r
+s:400 16,843 1,843 -1,843 -16,843\r
+M:935 16,3 1,3 -1,3 14,7 31,7 33,7 18,7 15,7 17,7 -16,7 -15,7 -17,7\r
+h:480 15,7 17,7 -15,7 -17,7 2,7 32,7 -2,7 -32,7 3,7 48,7 -3,7 -48,7\r
+k:-1  1,34 -1,34 1,7 -1,7 16,7 15,7 17,7 -16,7 -15,7 -17,7\r
+\r
+Game: fairy/Rookies-FIDE # P.............W.MH.S.Kpnbrq................k\r
+8x8\r
+6 3 10 7 11 10 3 6\r
+8 4 5 9 11 5 4 8\r
+p:100 -16,24 -16,6 -15,5 -17,5 \r
+p:100 16,24 16,6 15,5 17,5\r
+w:310 1,7 16,7 -1,7 -16,7 2,7 32,7 -2,7 -32,7\r
+n:325 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7\r
+b:350 15,3 17,3 -15,3 -17,3\r
+s:400 16,843 1,843 -1,843 -16,843\r
+M:935 -16,3 1,3 -1,3 -14,7 -31,7 -33,7 -18,7 -15,7 -17,7 16,7 15,7 17,7\r
+R:500 16,3 -16,3 -1,3 1,3\r
+Q:950 1,3 16,3 15,3 17,3 -1,3 -16,3 -15,3 -17,3\r
+h:480 15,7 17,7 -15,7 -17,7 2,7 32,7 -2,7 -32,7 3,7 48,7 -3,7 -48,7\r
+k:-1  1,34 -1,34 1,7 -1,7 16,7 15,7 17,7 -16,7 -15,7 -17,7\r
+\r
+Game: fairy/Clobberers-Rookies # P.....EAC....L.......Kp.............w.mh.s.k\r
+8x8\r
+6 4 5 7 11 5 4 6\r
+8 3 10 9 12 10 3 8\r
+p:100 -16,24 -16,6 -15,5 -17,5 \r
+p:100 16,24 16,6 15,5 17,5\r
+w:310 1,7 16,7 -1,7 -16,7 2,7 32,7 -2,7 -32,7\r
+e:320 30,7 34,7 -30,7 -34,7 16,7 -16,7 1,7 -1,7\r
+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\r
+l:530 15,3 17,3 -15,3 -17,3 32,7 -32,7 2,7 -2,7\r
+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\r
+s:400 16,843 1,843 -1,843 -16,843\r
+M:935 16,3 1,3 -1,3 14,7 31,7 33,7 18,7 15,7 17,7 -16,7 -15,7 -17,7\r
+h:480 15,7 17,7 -15,7 -17,7 2,7 32,7 -2,7 -32,7 3,7 48,7 -3,7 -48,7\r
+k:-1  1,34 -1,1034 1,7 -1,7 16,7 15,7 17,7 -16,7 -15,7 -17,7\r
+k:-1  1,34 -1,34 1,7 -1,7 16,7 15,7 17,7 -16,7 -15,7 -17,7\r
+\r
+Game: fairy/Rookies-Clobberers # P.............W.MH.S.Kp.....eac....l.......k\r
+8x8\r
+6 3 10 7 11 10 3 6\r
+5 4 8 9 12 8 4 5\r
+p:100 -16,24 -16,6 -15,5 -17,5 \r
+p:100 16,24 16,6 15,5 17,5\r
+w:310 1,7 16,7 -1,7 -16,7 2,7 32,7 -2,7 -32,7\r
+e:320 30,7 34,7 -30,7 -34,7 16,7 -16,7 1,7 -1,7\r
+l:530 15,3 17,3 -15,3 -17,3 32,7 -32,7 2,7 -2,7\r
+s:400 16,843 1,843 -1,843 -16,843\r
+M:935 -16,3 1,3 -1,3 -14,7 -31,7 -33,7 -18,7 -15,7 -17,7 16,7 15,7 17,7\r
+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\r
+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\r
+h:480 15,7 17,7 -15,7 -17,7 2,7 32,7 -2,7 -32,7 3,7 48,7 -3,7 -48,7\r
+k:-1  1,34 -1,34 1,7 -1,7 16,7 15,7 17,7 -16,7 -15,7 -17,7\r
+k:-1  1,34 -1,1034 1,7 -1,7 16,7 15,7 17,7 -16,7 -15,7 -17,7\r
+\r
 // Great Shatranj: modern variant with range-two leapers replacing sliders, on 10x8 board.\r
 // Must be played with legality testing off in XBoard 4.4.0.\r
 Game: great\r