X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=data%2Ffmax.ini;h=ea064e89ebfeb73b19a8305746d35875ea9d4d5b;hb=1e8e8a11305b782c527d4c2c635205c4f073eb22;hp=5ecb18ab326b9cdaa52f26253fd98271d763d3c1;hpb=61016605c1b027989dba6a110e4fba25a5841b22;p=fairymax.git diff --git a/data/fmax.ini b/data/fmax.ini index 5ecb18a..ea064e8 100644 --- a/data/fmax.ini +++ b/data/fmax.ini @@ -140,6 +140,8 @@ 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-18: Description of piece types that can occur in the variant +This can be followed by some optional info to be sent to GUI when it +selects the variant, e.g. to tell it how some non-standard pieces move. 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, @@ -158,6 +160,11 @@ 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. +The variant name can be suffixed with some info to be sent to the GUI +as a 'setup' command, behind a # character. In particular the piece- +to-character table to define which symbols the GUI should use for +the various pieces, and (after another #) the 'parent' variant. + 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. @@ -291,6 +298,19 @@ R:444 1,3 16,3 -1,3 -16,3 Q:851 1,3 16,3 15,3 17,3 -1,3 -16,3 -15,3 -17,3 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 +// Chess without castling (intended as shuffle variant) +Game: nocastle +8x8 +6 4 5 7 3 5 4 6 +6 4 5 7 3 5 4 6 +p:74 -16,24 -16,6 -15,5 -17,5 +p:74 16,24 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:259 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7 +b:296 15,3 17,3 -15,3 -17,3 +R:444 1,3 16,3 -1,3 -16,3 +Q:851 1,3 16,3 15,3 17,3 -1,3 -16,3 -15,3 -17,3 + // Arabic precursor of modern Chess Game: shatranj 8x8 @@ -324,11 +344,11 @@ s: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:630 1,3 16,3 -1,3 -16,3 -// Thai Chess. Note: value m = 181 controls promotion at 6th! +// Thai Chess. Game: makruk -8x8 -12 11 8 7 3 8 11 12 -12 11 9 3 7 9 11 12 +8x8=3 +12 11 8 3 7 8 11 12 +12 11 9 7 3 9 11 12 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 @@ -343,8 +363,8 @@ n:450 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7 R:630 1,3 16,3 -1,3 -16,3 // Cambodian Chess. Like Makruk, but with extra initial King and Met moves -Game: cambodian -8x8 +Game: Cambodian +8x8=3 13 12 8 3 7 8 12 13 13 12 9 7 4 9 12 13 p:100 -16,6 -15,5 -17,5 @@ -361,6 +381,56 @@ 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:630 1,3 16,3 -1,3 -16,3 +// Thai Chess variant with Ai-Wok (RNF). +Game: Ai-wok +8x8=3 +6 5 3 8 7 3 5 6 +6 5 4 7 8 4 5 6 +p:100 -16,6 -15,5 -17,5 +p:100 16,6 15,5 17,5 +s:300 15,7 17,7 -15,7 -17,7 -16,7 +s: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:630 1,3 16,3 -1,3 -16,3 +A: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 +k:-1 1,7 16,7 15,7 17,7 -1,7 -16,7 -15,7 -17,7 + +// Cambodian Chess using WinBoard's new engine-defined variant mechanism +Game: cambodian # PN.R.M....SKpn.r.m....sk # makruk +8x8=3 +13 12 8 3 7 8 12 13 +13 12 9 7 4 9 12 13 +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 -16,10F4 -16,1F0F4 -1,100F4 1,FFFF00F4 +k:-1 1,7 16,7 15,7 17,7 -1,7 -16,7 -15,7 -17,7 16,10F4 16,1F0F4 1,100F4 -1,FFFF00F4 +f:181 15,7 17,7 -15,7 -17,7 16,F4 -16,F4 +q:181 15,7 17,7 -15,7 -17,7 16,F4 -16,F4 +m:181 15,7 17,7 -15,7 -17,7 16,F4 -16,F4 +s:300 15,7 17,7 -15,7 -17,7 -16,7 +s:300 15,7 17,7 -15,7 -17,7 16,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 + +n:450 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7 +R:630 1,3 16,3 -1,3 -16,3 + + +// Ai-Wok using WinBoard's new engine-defined variant mechanism +Game: ai-wok # PN.R...A..SKpn.r...a..sk # makruk +8x8=3 +6 5 3 8 7 3 5 6 +6 5 4 7 8 4 5 6 +p:100 -16,6 -15,5 -17,5 +p:100 16,6 15,5 17,5 +s:300 15,7 17,7 -15,7 -17,7 -16,7 +s: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:630 1,3 16,3 -1,3 -16,3 +A: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 +k:-1 1,7 16,7 15,7 17,7 -1,7 -16,7 -15,7 -17,7 + // Medieval intermediate between Shatranj and FIDE Chess Game: courier 12x8 @@ -650,7 +720,7 @@ b:350 15,3 17,3 -15,3 -17,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 s:400 16,843 1,843 -1,843 -16,843 -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 +M:935 16,3 1,3 -1,3 14,7 31,7 33,7 18,7 -16,3 -14,7 -31,7 -33,7 -18,7 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 k:-1 1,34 -1,34 1,7 -1,7 16,7 15,7 17,7 -16,7 -15,7 -17,7 @@ -664,7 +734,7 @@ w:310 1,7 16,7 -1,7 -16,7 2,7 32,7 -2,7 -32,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 s:400 16,843 1,843 -1,843 -16,843 -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 +M:935 -16,3 1,3 -1,3 -14,7 -31,7 -33,7 -18,7 16,3 14,7 31,7 33,7 18,7 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 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 @@ -682,7 +752,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 s:400 16,843 1,843 -1,843 -16,843 -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 +M:935 16,3 1,3 -1,3 14,7 31,7 33,7 18,7 -16,3 -14,7 -31,7 -33,7 -18,7 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 k:-1 1,34 -1,1034 1,7 -1,7 16,7 15,7 17,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 @@ -697,7 +767,7 @@ w:310 1,7 16,7 -1,7 -16,7 2,7 32,7 -2,7 -32,7 e:320 30,7 34,7 -30,7 -34,7 16,7 -16,7 1,7 -1,7 l:530 15,3 17,3 -15,3 -17,3 32,7 -32,7 2,7 -2,7 s:400 16,843 1,843 -1,843 -16,843 -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 +M:935 -16,3 1,3 -1,3 -14,7 -31,7 -33,7 -18,7 16,3 14,7 31,7 33,7 18,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 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 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