Check out Grant Acedrex, our featured variant for April, 2024.


[ 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

Spring Cleaning my pages[Subject Thread] [Add Response]
🕸Fergus Duniho wrote on Fri, Apr 22, 2016 12:26 PM UTC:
The diagram designer provides you with the HTML code for all the pieces in
your diagram. All you have to do is cut and paste it. And as long as you
are sticking to a single piece set, plain HTML is the best way to go.

What you have in mind would require an extra parser on top of the HTML
parser, and I would rather you just use plain HTML.

An alterative more like what you have in mind is to use the
play.chessvariants.com/pbm/showpiece.php script I designed for use with
displaying rules within Game Courier presets. It takes two parameters,
piece and set. But it adds to the work of the server. I recommend using the
HTML code provided to you by the Diagram Designer.