[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]
Check out Janggi (Korean Chess), our featured variant for December, 2024.
Check out Janggi (Korean Chess), our featured variant for December, 2024.
I have added the Sergeant to the piece set with notation "st" but you can still use it with the current "t" notation. Just add the following code to the beginning of the pre-game section:
setsystem groupsets array alfaerie-metamachy;
set mypieces ();
foreach label (a A b B c C d D e E f F g G h H i I j J k K l L m M n N o O p P q Q r R s S t T u U v V w W x X y Y z Z):
setelem mypieces #label pieceimg #label;
next;
if == pieceset alfaerie-metamachy:
set mypieces.t pieceimg st;
set mypieces.T pieceimg ST;
endif;
setsystem pieces #mypieces;
You case see it in action here:
https://www.chessvariants.com/play/pbm/play.php?game%3DMaasai+Chess%26settings%3Dgs_test
Please note that after you change your preset, you will need to refresh the page or clear you cache before you see the game on the preview screen. But if you start moving pieces, you should see the new graphics.