[ 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.
As an example: It now produces the image above, from nothing more than the input listed below embedded in body of the html,
(The braces of course have to be angular brackets, which cannot be displayed on this forum.) So you just have to list all the pieces, one per line in the formatpieceID : name : Betza move description : image : squares it starts on
plus a number of parameters (the choice is from files (8), ranks (8), holdingsType (0), promoZone (1), maxPromote (1), promoChoice (empty), graphicsDir (?), symmetry (mirror) and light/darkShade for the board checkering) of which you want to overrule the default (given between the parentheses). In this case that was only the number of board files. An empty string for the promoChoice means all promotions except to Pawn will be allowed. The graphicsDir should get a suitable default where many pieces are available.
If you want to see it in action, click here, as for now this only works on my own website.