Check out Modern Chess, our featured variant for January, 2025.

Enter Your Reply

The Comment You're Replying To
H. G. Muller wrote on Thu, Nov 24, 2016 07:39 PM UTC:

I think I have a satisfactory solution implemented in WinBoard, now. I improved the standard move generation and execution for Pawns to always remember the square skipped by a Pawn or Lance that moves more than 1 step forward, as well as where that Pawn ended up. And I now always allow a diagonal Pawn move to the same file as such a square, and then always remove the Pawn moved on the preceding move. Pawns (or Lances) with redefined moves, however, will consider every move to the skipped square an attempt to e.p. capture, also if that move in the move definition did not have e.p. capture rights (but some other move did), or indeed any capture rights at all.

This fails for Berolina Pawns, which can move through their diagonal non-capture to the square skipped by an anti-diagonal double-push. But there would hardly ever be any need to define Pawns as Berolina Pawns, as Berolina Chess is a standard variant, which has these Pawns and their e.p. habits hard-coded, and other variants could inherit that by defining 'berolina' as parent variant.

The Elvish and Orkish Pawns  do not have this problem:  all their moves can capture, and thus presumably also e.p. capture when they go to a square skipped by a double-push. Only FIDE Pawns have a problem against Elvish Pawns, in that their straight-forward non-capture can reach a skipped square. But this can then be solved by not redefining the Human Pawn, so that the built-in default move generation is used for that. And this does know that only diagonal moves can e.p. capture.

The only problem is that e.p. rights will not always be properly taken into account when comparing positions for the purpose of determining 3-fold-repetition draws. WinBoard might mistakenly think that no e.p. rights exists after a double-push because there are no Pawns next to the double-pushed Pawn that could e.p. capture it. While in fact the Pawns that can e.p. capture it are further away (e.g. after e2-e4 an Orkish Pawn on d3, or after e2-g4 an Elvish Pawn on e4). I suppose we can live with that; Fairy-Max assumes any repetition of a previous position will be a draw anyway.

The fixed WinBoard executable can be dowloaded from http://hgm.nubati.net/winboard.zip .


Edit Form

Comment on the page Asymmetric Chess

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.