C:900 1,3 16,3 -1,3 -16,3 13,7 47,7 49,7 19,7 -13,7 -47,7 -49,7 -19,7\r
Amazon:\r
A:1150 1,3 16,3 15,3 17,3 -1,3 -16,3 -15,3 -17,3 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7\r
-Crooked Bishop:\r
-B:900 15,1E003 17,1E003 -15,1E003 -17,1E003 15,FFFE0003 -17,FFFE0003 -15,FFFE0003 17,FFFE0003\r
\r
HOPPERS\r
GrassHopper:\r
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
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
+one to four steps (so for normal pieces, better not set those bits!).\r
\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
C must hop immediately\r
\r
For example, if the initial step vector equals 1, and the descriptor\r
-is 11003, the piece is an alternator (as no hop bit is set), and alternates\r
+is 11003, the piece is a bent one (as no hop bit is set), and switches\r
the mode from 3 to 3 (as the toggle digit is 0), i.e. all steps are moves\r
that can both capture and non-capture, and only captures terminate the ray.\r
-The step vector is toggled by 11, though, and thus alternates between 1\r
-and 10 (hex) = 16. So the piece zig-zags over the board, right, forward, right,\r
-forward, etc. Had the move attributes been 11032, captures would only\r
-be allowed on the odd steps (after moving right), while the even steps could\r
-only be non-captures (both the 1 and 2 bit are toggled). With 11030 the\r
-odd steps can only be skipped (if empty), and the even steps can both capture\r
-and non-capture, meaning the piece moves like a Bishop that can be blocked\r
-by a piece just next to the diagonal.\r
+The step vector is toggled by 11, though, and thus switches from 1\r
+to 10 (hex) = 16. So the piece turns a 90-degree corner, from right to\r
+forward. Had the move attributes been 11032, captures would only be\r
+allowed before the bend (after moving right), while thereafter it can\r
+only non-capture (both the 1 and 2 bit are toggled). With 11030 the\r
+first step can only be skipped (if empty), and thereafter it can both capture\r
+and non-capture.\r
\r
If the first step is a slider, a second step is made (if the square was\r
empty), but if the mode toggles to leaper, the move stops there (e.g. Horse).\r
// FIDE Chess (a.k.a. Mad Queen variant)\r
Game: normal\r
8x8\r
-6 4 5 7 3 5 4 6\r
-6 4 5 7 3 5 4 6\r
+8 5 6 9 3 6 5 8\r
+8 5 6 9 4 6 5 8\r
p:74 -16,24 -16,6 -15,5 -17,5 \r
p:74 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
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
-f:481 13,FFFFF207 29,F207 46,F207 47,10207 49,10207 50,11207 35,11207 19,1207 -13,1207 -29,FFFF1207 -46,FFFF1207 -47,FFFF0207 -49,FFFF0207 -50,FFFEF207 -35,FFFEF207 -19,FFFFF207 \r
+R:444 1,3 16,3 -1,3 -16,3\r
+S:851 1,3 16,3 15,3 17,3 -1,3 -16,3 -15,3 -17,3\r
\r
// Chess without castling (intended as shuffle variant)\r
Game: nocastle\r
\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 7 3 9 11 12\r
+8x8=1\r
+13 12 8 7 3 8 12 13\r
+13 12 9 7 4 9 12 13\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
+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
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
// 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
+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
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
+k:-1 1,7 16,7 15,7 17,7 -1,7 -16,7 -15,7 -17,7\r
f:181 15,7 17,7 -15,7 -17,7\r
q:181 15,7 17,7 -15,7 -17,7\r
-b:300 15,7 17,7 -15,7 -17,7 -16,7\r
m:181 15,7 17,7 -15,7 -17,7\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
+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
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
b: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
+# K& KiN\r
+# M& FifD\r
\r
// Thai Chess variant with Ai-Wok (RNF).\r
Game: Ai-wok\r
m:181 15,7 17,7 -15,7 -17,7 16,F4 -16,F4\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
-\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
-\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
+#\r
+# K& KiN\r
+# M& FifD\r
\r
// Ai-Wok using WinBoard's new engine-defined variant mechanism\r
Game: ai-wok # PN.R...A..SKpn.r...a..sk # makruk\r
// Medieval intermediate between Shatranj and FIDE Chess\r
Game: courier\r
12x8\r
-6 4 8 5 10 3 7 9 5 8 4 6\r
-6 4 8 5 10 3 7 9 5 8 4 6\r
+11 9 5 10 8 3 7 6 10 5 9 11\r
+11 9 5 10 8 4 7 6 10 5 9 11\r
p:65 -16,6 -15,5 -17,5 \r
p:65 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
-n:300 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7\r
-b:366 15,3 17,3 -15,3 -17,3\r
-R:550 1,3 16,3 -1,3 -16,3\r
-f:120 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
e:70 30,7 34,7 -30,7 -34,7\r
w:100 1,7 16,7 -1,7 -16,7\r
+f:120 15,7 17,7 -15,7 -17,7\r
m:280 1,7 16,7 15,7 17,7 -1,7 -16,7 -15,7 -17,7 \r
+n:300 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7\r
+b:366 15,3 17,3 -15,3 -17,3\r
+R:550 1,3 16,3 -1,3 -16,3\r
\r
// The King moves as a Knight, and vice versa\r
Game: knightmate\r
f:450 13,FFFFF207 29,F207 46,F207 47,10207 49,10207 50,11207 35,11207 19,1207 -13,1207 -29,FFFF1207 -46,FFFF1207 -47,FFFF0207 -49,FFFF0207 -50,FFFEF207 -35,FFFEF207 -19,FFFFF207 \r
A:825 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
C:875 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
+# F& aflafrKafraflKafafsKafsafK\r
\r
// Cylinder Chess (WinBoard / XBoard legality testing should be off toplay this!)\r
Game: cylinder\r
b:450 15,103 17,103 -15,103 -17,103\r
R:525 1,103 16,3 -1,103 -16,3\r
Q:1150 1,103 16,3 15,103 17,103 -1,103 -16,3 -15,103 -17,103\r
+#\r
+# P& fmWfceoFifmnD\r
+# N& oN\r
+# B& oB\r
+# R& oR\r
+# Q& oQ\r
+# K& oK\r
\r
// Berolina Chess. In WinBoard 4.3.15 you can play this with legality testing switched off\r
Game: berolina\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
+#\r
+# P& fmFfceWifmnA\r
\r
// Modern variant with four new pieces in randomly chosen setup on 8x8 board\r
Game: super\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
# e WA\r
# c FAD\r
# l BD\r
+# k KilO2rO3\r
\r
Game: fairy/Clobberers-FIDE # P.....EAC....LKpnbrq.........k\r
8x8\r
# E WA\r
# C FAD\r
# L BD\r
+# K KirO2lO3\r
\r
Game: fairy/FIDE-Nutters # PNBRQ................Kp...........h.t.c...uk\r
8x8\r
# t fsRbWbF\r
# c fsRbWfhNF\r
# u fhNbsWbF\r
+# k KisO2\r
\r
Game: fairy/Nutters-FIDE # P...........H.T.C...UKpnbrq................k\r
8x8\r
# T fsRbWbF\r
# C fsRbWfhNF\r
# U fhNbsWbF\r
+# K KisO2\r
\r
Game: fairy/Clobberers-Nutters # P.....EAC....L.......Kp...........h.t.c...uk\r
8x8\r
# E WA\r
# C FAD\r
# L BD\r
+# K KirO2lO3\r
+# k KisO2\r
\r
Game: fairy/Nutters-Clobberers # P...........H.T.C...UKp.....eac....l.......k\r
8x8\r
# e WA\r
# c FAD\r
# l BD\r
+# K KisO2\r
+# k KilO2rO3\r
\r
Game: fairy/FIDE-Rookies # PNBRQ................Kp.............w.mh.s.k\r
8x8\r
# w WD\r
# h HFD\r
# s W4\r
+# m RN\r
+# k KisO2\r
\r
Game: fairy/Rookies-FIDE # P.............W.MH.S.Kpnbrq................k\r
8x8\r
# W WD\r
# H HFD\r
# S W4\r
+# M RN\r
+# K KisO2\r
\r
Game: fairy/Clobberers-Rookies # P.....EAC....L.......Kp.............w.mh.s.k\r
8x8\r
# w WD\r
# h HFD\r
# s W4\r
+# m RN\r
+# K KirO2ilO3\r
+# k KisO2\r
\r
Game: fairy/Rookies-Clobberers # P.............W.MH.S.Kp.....eac....l.......k\r
8x8\r
# W WD\r
# H HFD\r
# S W4\r
+# M RN\r
# e WA\r
# c FAD\r
# l BD\r
+# K KisO2\r
+# k KilO2irO3\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
g:640 1,7 16,7 -1,7 -16,7 2,7 -2,7 32,7 -32,7 15,7 17,7 -15,7 -17,7 30,7 34,7 -30,7 -34,7\r
h:640 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7 15,7 17,7 -15,7 -17,7 30,7 34,7 -30,7 -34,7\r
m:640 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7 1,7 16,7 -1,7 -16,7 2,7 -2,7 32,7 -32,7\r
+#\r
+# P& fmWfcF\r
+# E& FA\r
+# W& WD\r
+# G& KAD\r
+# H& NAF\r
+# M& NWD\r
+\r
+// Charge of the Light Brigade\r
+Game: light-brigade # PNBRQKpnbrqk # nocastle\r
+8x8\r
+0 7 0 7 3 0 7 0\r
+4 4 4 4 3 4 4 4\r
+p:74 -16,24 -16,6 -15,5 -17,5 \r
+p:74 16,24 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
+n:444 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7\r
+b:400 15,3 17,3 -15,3 -17,3\r
+R:500 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
+\r
+// King of the Hill (King MUST be #3 and have value -2 to trigger hill eval)\r
+Game: king-of-the-hill # PNBRQKpnbrqk # fairy\r
+8x8\r
+6 4 5 7 3 5 4 6\r
+6 4 5 7 3 5 4 6\r
+p:66 -16,24 -16,6 -15,5 -17,5 \r
+p:66 16,24 16,6 15,5 17,5\r
+k:-2 1,34 -1,34 1,7 16,7 15,7 17,7 -1,7 -16,7 -15,7 -17,7\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
+\r
+// Bifurcator Chess\r
+Game: bifurcator # PNBRQKpnbrqk # fairy\r
+8x8\r
+6 4 5 7 3 5 4 6\r
+6 4 5 7 3 5 4 6\r
+p:66 -16,24 -16,6 -15,5 -17,5 \r
+p:66 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
+n:259 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7\r
+b:370 15,3 17,3 -15,3 -17,3 15,1FCB8 17,1CB8 -15,1CB8 -17,1FCB8 15,FFFF0CB8 17,10CB8 -15,FFFF0CB8 -17,10CB8\r
+R:518 1,3 16,3 -1,3 -16,3 1,10CB8 16,1FCB8 -1,10CB8 -16,1FCB8 1,FFFF0CB8 16,1CB8 -1,FFFF0CB8 -16,1CB8\r
+Q:851 1,3 16,3 15,3 17,3 -1,3 -16,3 -15,3 -17,3\r
+#\r
+# B& BtgabyabsB\r
+# R& RtgabyabsR\r
+\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 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
+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
+# F& WA\r
+# M& AG\r
+# U& WN\r
+# C& NmpafsafF\r
+# A& WyafsW\r
+# K& KisO2\r
+# J& BD0\r
\r
// End of game file\r