The Chess Variant Pages

Check out Hectochess, our featured variant for November, 2023.

Enter Your Reply

The Comment You're Replying To
H. G. Muller wrote on Sun, Nov 19 09:29 AM UTC in reply to Fergus Duniho from 03:33 AM:

I could try to compile it here if you give me the source code.

Well, we already tried that, and after an uphill battle even succeeded, and the resulting binary is even on the CVP server, as public_html/index/fen2.cgi . But it appears we ran into a problem with the server refusing to execute the resulting CGI file when accessed from the web; see the discussion here.

Do Interactive Diagrams have any way of their own to indicate different images for black and white pieces besides a different prefix?

No, they use the files that start with the blackPrefix for black. It is up to the set designer what image these contain.

As far as I know, the SVG pieces on this site are all white (outline) pieces. So, showpiece.php just loads a w*.svg file when given a b*.svg file name for the image parameter.

Well, the XBoard set has b*.svg for all pieces, and Magnetic and Motif has b*.svg for the orthodox pieces. The unorthodox pieces in the latter two are basically just cut & paste jobs on pairs of orthodox pieces, but I never got to do those jobs on the black pieces. In theory these could be easily done, though, if there would be any use for those.

As it is, showpiece.php would never allow you to use the black XBoard pieces, which seems a pity. Perhaps it could be made to use b*.svg instead of a*.svg, when it is present, and the requested color is very dark (e.g. all colors < 0x10)?


Edit Form

Comment on the page Home page of The Chess Variant Pages

Quick Markdown Guide

By default, new comments may be entered as Markdown, simple markup syntax designed to be readable and not look like markup. Comments stored as Markdown will be converted to HTML by Parsedown before displaying them. This follows the Github Flavored Markdown Spec with support for Markdown Extra. For a good overview of Markdown in general, check out the Markdown Guide. Here is a quick comparison of some commonly used Markdown with the rendered result:

Top level header: <H1>

Block quote

Second paragraph in block quote

First Paragraph of response. Italics, bold, and bold italics.

Second Paragraph after blank line. Here is some HTML code mixed in with the Markdown, and here is the same <U>HTML code</U> enclosed by backticks.

Secondary Header: <H2>

  • Unordered list item
  • Second unordered list item
  • New unordered list
    • Nested list item

Third Level header <H3>

  1. An ordered list item.
  2. A second ordered list item with the same number.
  3. A third ordered list item.
Here is some preformatted text.
  This line begins with some indentation.
    This begins with even more indentation.
And this line has no indentation.

Alt text for a graphic image

A definition list
A list of terms, each with one or more definitions following it.
An HTML construct using the tags <DL>, <DT> and <DD>.
A term
Its definition after a colon.
A second definition.
A third definition.
Another term following a blank line
The definition of that term.