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

Play-test applet for chess variants. Applet you can play your own variant against.[All Comments] [Add Comment or Rating]
💡📝H. G. Muller wrote on Wed, Sep 27, 2023 01:26 PM EDT in reply to Bob Greenwade from 01:05 PM:

I suppose I never documented that; just announced it in a Comment.

But it is simple enough: if you replace the root name of the image with a string that contains a percent sign, it uses that string, with the % replaced by the color prefix, as the URL in the HTML img tag, without paying attention to the specified graphicsDir or even graphicsType (if the string already specifies a file extension). The only requirement is that the 'external' images use the same color prefixes.