Check out Symmetric Chess, our featured variant for March, 2024.

Enter Your Reply

The Comment You're Replying To
H. G. Muller wrote on Thu, Jul 8, 2021 08:27 AM UTC in reply to Ben Reiniger from Wed Jul 7 04:49 PM:

I used the Play-Test Applet, followed by some editing of the html. Specifically, since the queen doesn't appear in the initial setup, I needed to add it to the promotion choices, which subsequently required adding it to the piece list (hence its appearance last, which I didn't remember indicating royalty).

A work-around for such extra piece types could be to place them in the empty area of the board in the initial position. Then they will be put in the piece list, and in the post-editing you only have to delete the list of squares where they should be put.

The Play-Test Applet also produced a more-verbose version of the piece descriptions than necessary, so I pruned those down based on viewing another of your posted diagrams. But then the issue with the knight came up, and it seemed that it needed the explicit id.

I guess the problem with the Knight was that you pruned a bit too much. In particular the ID field for the Knight, which would have be an N if you had left it alone.

The order of the pieces in the promoChoice string should not matter; when a promotable piece reaches the zone the diagram just goes through the piece list, and for every ID tests whether it occurs (as a sub-string) in the promoChoice string. This algorithm failed when the IDs are not single letters, so I later supported a second format where you can specify a comma-separated list of promotion choices. If a comma occurs in the promoChoice it then only considers a piece ID a match if it occurs as a sub-string surrounded by commas.


Edit Form

Comment on the page Demi chess

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.