Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Rule for displaying castling rights in a EPD string

Author: Dann Corbit

Date: 19:18:44 04/30/01

Go up one level in this thread


On April 30, 2001 at 22:13:21, Les Fernandez wrote:

>Can someone tell me the details as far as what are the standard rules for
>describing castling rights in an EPD string.  ie .....w Kq.  Is there a
>particular order that is the defacto standard???

Sorry I did not return your email Les, I've been a bit busy.  Anyway, you were
also wondering about e.p., so here it is from the horse's mouth:

16.1.3.3: Castling availability

The third field represents castling availability.  This indicates potential
future castling that may of may not be possible at the moment due to blocking
pieces or enemy attacks.  If there is no castling availability for either side,
the single character symbol "-" is used.  Otherwise, a combination of from one
to four characters are present.  If White has kingside castling availability,
the uppercase letter "K" appears.  If White has queenside castling
availability, the uppercase letter "Q" appears.  If Black has kingside castling
availability, the lowercase letter "k" appears.  If Black has queenside
castling availability, then the lowercase letter "q" appears.  Those letters
which appear will be ordered first uppercase before lowercase and second
kingside before queenside.  There is no white space between the letters.


16.1.3.4: En passant target square

The fourth field is the en passant target square.  If there is no en passant
target square then the single character symbol "-" appears.  If there is an en
passant target square then is represented by a lowercase file character
immediately followed by a rank digit.  Obviously, the rank digit will be "3"
following a white pawn double advance (Black is the active color) or else be
the digit "6" after a black pawn double advance (White being the active color).

An en passant target square is given if and only if the last move was a pawn
advance of two squares.  Therefore, an en passant target square field may have
a square name even if there is no pawn of the opposing side that may
immediately execute the en passant capture.




This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.