Implement Remarkable Rookies
authorH.G. Muller <h.g.muller@hccnet.nl>
Wed, 20 Feb 2013 16:08:27 +0000 (17:08 +0100)
committerH.G. Muller <h.g.muller@hccnet.nl>
Wed, 20 Feb 2013 17:07:33 +0000 (18:07 +0100)
The Rookies army of Chess with Different Armies contained an R4, which
can now be implemented with the limited-range slider extension. Game
defiitions have been added of Rookies vs FIDE and Clobberers (both ways).

changelog
data/fmax.ini

index 06089ba..dcae037 100644 (file)
--- a/changelog
+++ b/changelog
           * Fix Clear Hash option, which did not work at all
           * Fix addition of 6th & 7th-rank Pawn bonus when setting up position
           * Adapt score by true piece value in case of (under-)promotion
-          In addition it prints msec-accurate timing info.
+          In addition it prints msec-accurate timing info,
+          and can implement limited range sliders of range up to 5.
+          Some game definitions using the Remarkable Rookies army (which
+          uses a range-4 Rook) have been added as sub-variants of fairy.
+
 
index b64bd6f..c002de3 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
@@ -610,6 +620,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