This can be followed by some optional info to be sent to GUI when it\r
selects the variant, e.g. to tell it how some non-standard pieces move.\r
\r
+The board size can be suffixed with =n where the number n then indicates\r
+the depth of the promotion zone (which normally is just the last rank).\r
+Currently only n=3 is understood.\r
+\r
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
With a value -1, however, loss of the first piece of that type loses the game.\r
For royal piece types larger than 7 there is the special rule that it is not\r
allowed to leave more than one of them under attack ('duple check').\r
+A royal value of -2 is currently used as a kludge to enable an alternative\r
+winning condition, namely when the royal piece reaches (and survives in)\r
+one of the four central squares.\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
+NOTE: Any piece value that (in decimal notation) ends in '3' will not be \r
+accepted as promotion choice. (And neither will be absolute royalty,\r
+i.e. piece value -1).\r
\r
The individual bits in the move-mode descriptor have the following meaning:\r
In the last hexadecimal digit:\r
h:780 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
E:814 1,3 16,3 -1,3 -16,3 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7\r
\r
-// Spartan Chess, where black has a different army from white's orthodox FIDE, with two kings\r
-Game: fairy/Spartan # PNBRQ..............K....q.lwg.....c...hk\r
-8x8\r
-6 4 5 7 11 5 4 6\r
-3 10 12 8 8 12 9 3\r
-p:74 -16,64 -16,6 -15,5 -17,5 \r
-h:70 15,E4 17,E4 16,5 15,6 17,6\r
-l:290 15,7 17,7 -15,7 -17,7 30,7 34,7 -30,7 -34,7 1,6 -1,6\r
-n:259 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7\r
-b:296 15,3 17,3 -15,3 -17,3\r
-R:444 1,3 16,3 -1,3 -16,3\r
-Q:851 1,3 16,3 15,3 17,3 -1,3 -16,3 -15,3 -17,3\r
-c:255 1,7 16,7 -1,7 -16,7 2,7 -2,7 32,7 -32,7\r
-w:790 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
-G:640 1,3 16,3 -1,3 -16,3 15,7 17,7 -15,7 -17,7\r
-k:-435 1,34 -1,34 1,7 16,7 15,7 17,7 -1,7 -16,7 -15,7 -17,7\r
-k:-435 1,7 16,7 15,7 17,7 -1,7 -16,7 -15,7 -17,7\r
-\r
Game: spartan\r
8x8\r
6 4 5 7 11 5 4 6\r
# B& BtgabyabsB\r
# R& RtgabyabsR\r
\r
-// for mate testing\r
-Game: companion # PN....EXW....A......UKpn....exw....a......uk # fairy\r
+// Variant where no single piece has mating potential\r
+Game: team-mate # PN....EFM....A.J...CUKpn....efm....a.j...cuk # fairy\r
8x8\r
-10 8 5 7 3 6 9 10\r
-10 8 5 7 4 6 9 10\r
-p:74 -16,6 -15,5 -17,5 \r
-p:74 16,6 15,5 17,5\r
+10 8 6 12 3 5 9 7\r
+10 8 6 12 4 5 9 7\r
+p:110 -16,24 -16,6 -15,5 -17,5 \r
+p:110 16,24 16,6 15,5 17,5\r
k:-1 1,34 -1,34 1,7 16,7 15,7 17,7 -1,7 -16,7 -15,7 -17,7\r
k:-1 1,34 -1,34 1,7 16,7 15,7 17,7 -1,7 -16,7 -15,7 -17,7\r
-w:222 30,7 34,7 -30,7 -34,7 45,7 51,7 -45,7 -51,7 \r
-e:259 15,7 17,7 -15,7 -17,7 30,7 34,7 -30,7 -34,7\r
-A:851 2,3 32,3 15,3 17,3 -2,3 -32,3 -15,3 -17,3 -1,6 1,6 16,6 -16,6\r
-x:259 30,7 34,7 -30,7 -34,7 1,7 -1,7 16,7 -16,7\r
-n:259 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7\r
-u:444 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7 1,7 16,7 -1,7 -16,7 \r
+m:275 30,7 34,7 -30,7 -34,7 45,7 51,7 -45,7 -51,7 \r
+e:360 15,7 17,7 -15,7 -17,7 30,7 34,7 -30,7 -34,7\r
+c:600 14,FFFF1043 31,F043 33,31043 18,13043 -14,FFFF3043 -31,11043 -33,2F043 -18,11043\r
+f:360 30,7 34,7 -30,7 -34,7 1,7 -1,7 16,7 -16,7\r
+n:360 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7\r
+u:550 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7 1,7 16,7 -1,7 -16,7 \r
+J:770 2,3 32,3 15,3 17,3 -2,3 -32,3 -15,3 -17,3\r
+A:883 16,1003 16,1F003 -16,1003 -16,1F003 1,10003 1,FFFF0003 -1,10003 -1,FFFF0003\r
#\r
# E& FA\r
-# X& WA\r
-# W& AG\r
+# F& WA\r
+# M& AG\r
# U& WN\r
-# A& BD0mW\r
+# C& NmpafsafF\r
+# A& WyafsW\r
# K& KisO2\r
+# J& BD0\r
\r
// End of game file\r