Check out Janggi (Korean Chess), our featured variant for December, 2024.

Enter Your Reply

The Comment You're Replying To
H. G. Muller wrote on Sun, Jan 21 07:39 PM UTC in reply to François Houdebert from 07:09 PM:

you have to take the squirrel with the commoner on ist first line to reproduce the promotion message.

OK, I see. This kind of sick behavior can occur with the modification I made to the input routine for handling multi-leg moves: if you click a destination that has multiple moves to it, it requires a third click to disambiguate those. (And for the first click it highlights the 'via' square rather than the final destination.) But if even after that several moves are left that match the input clicks (that are not identical; because duplicats would be removed to begin with), it just assumes that this must be because they differ in promotion choice (as apparently origin, destination and via square are the same), and throws up the promotion popup.

I don't see how in this case duplicat moves would be prodused here; the Commoner has a simple KingGraph.

[Edit] OK, I see. The move is also a move that would be induced by the Dervish on d10. This is what causes teh duplicat. But apparently it is not recognized as an exact duplicat. This comparison is very picky: even if the properties are the same, but appear in adifferent order, it doesn't think its a duplicat. I will check it out. For the efficiency of the AI it would be better if not even exact duplicats were generated. But it would be quite a hassle to figure out which types already have the move you want to induce.

[Edit2] It seems the move as it is normally generated has a extra ep: false property in it, and the induced move that I generated because of induction by the Dervish doesn't have that. So the input routine doesn't see them as duplicats, and hence assumes that they must differ in promotion piece. Not all moves appear to have this redundant ep: false property, though, so I should test carefully for when to add it.


Edit Form

Comment on the page Jocly

Conduct Guidelines
This is a Chess variants website, not a general forum.
Please limit your comments to Chess variants or the operation of this site.
Keep this website a safe space for Chess variant hobbyists of all stripes.
Because we want people to feel comfortable here no matter what their political or religious beliefs might be, we ask you to avoid discussing politics, religion, or other controversial subjects here. No matter how passionately you feel about any of these subjects, just take it someplace else.
Avoid Inflammatory Comments
If you are feeling anger, keep it to yourself until you calm down. Avoid insulting, blaming, or attacking someone you are angry with. Focus criticisms on ideas rather than people, and understand that criticisms of your ideas are not personal attacks and do not justify an inflammatory response.
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.