Check out Makruk (Thai Chess), our featured variant for March, 2025.


[ Help | Earliest Comments | Latest Comments ]
[ List All Subjects of Discussion | Create New Subject of Discussion ]
[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Single Comment

Old Castle Chess[Subject Thread] [Add Response]
H. G. Muller wrote on Sat, Mar 8 05:38 AM EST in reply to hirosi Kano from Thu Mar 6 07:24 PM:

I just made it easier to do this, also for a 'different-armies' collection. I introduced a new parameter perArmy=1, which causes the buttons created by including named set commands to appear twice: one row for selecting the white army, another for selecting the black army.

I made an example of this below. (View in isolation!) You can view the source code of it by clicking the 'here' link twice, and then pressing the 'Source Code' button. Beware though, that you would have to alter 'nocache=true' into 'nocache=17' (or some other number you never used before), or you would keep using an old version of the Diagram script that doesn't support this yet.

files=8 ranks=8 promoZone=1 promoChoice= graphicsDir=/graphics.dir/alfaeriePNG/ squareSize=50 graphicsType=png symmetry=none perArmy=1 royal=K pawn:P:ifmnDfmWfceF:pawn:a2,b2,c2,d2,e2,f2,g2,h2,,a7,b7,c7,d7,e7,f7,g7,h7 set=FIDE knight:N:N:knight:b1,g1,,b8,g8 bishop:B:B:bishop:c1,f1,,c8,f8 set=fairies phoenix:X:WA:elephantwazir:b1,g1,,b8,g8 horseferz:H:[F?W]:horseferz:c1,f1,,c8,f8 set=0 rook:R:R:rook:a1,h1,,a8,h8 queen:Q:Q:queen:d1,,d8 king:K:KisO2:king:e1,,e8