Changes

Jump to: navigation, search

Extended Position Description

1,179 bytes added, 19:22, 13 August 2020
no edit summary
=EPD Syntax=
One EPD string or record consists of one text line of variable length composed of four fields separated by a space character followed by zero or more operations. The four data fields, which describe the position, are common with the [[Forsyth-Edwards Notation#FEN Syntax|FEN-Specification]], while the [[Halfmove Clock|halfmove clock]] and [[Forsyth-Edwards Notation#Fullmovecounter|full move counter]], obligatory in Forsyth-Edwards Notation are replaced by optional '''hmvc''' and '''fmvn''' operations, and 0, 1 are their default values <ref>[http://www.talkchess.com/forum3/viewtopic.php?f=7&t=70048&start=5 Re: Fun challenge for best cool code] by [[Harm Geert Muller]], [[CCC]], February 28, 2019</ref>.
''[https://en.wikipedia.org/wiki/Terminal_and_nonterminal_symbols Terminal and none terminal symbols] of a variant of [https://en.wikipedia.org/wiki/Backus%E2%80%93Naur_form BNF] below are embedded in ' ' resp. < >.''
==Piece Placement==
The Piece Placement is determined rank by rank in [[big-endian]] order, that is starting at the 8th rank down to the first rank. Each rank is separated by the terminal symbol '/' (slash). One rank, scans piece placement in [[little-endian]] file-order from the A to H.
A decimal digit counts consecutive empty squares, the pieces are identified by a single letter from standard English names for chess pieces as used in the [[Algebraic chess notationChess Notation]]. Uppercase letters are for white pieces, lowercase letters for black pieces.
<pre>
<Piece Placement> ::= <rank8>'/'<rank7>'/'<rank6>'/'<rank5>'/'<rank4>'/'<rank3>'/'<rank2>'/'<rank1>
<span id="Castling"></span>
==Castling ability==
If neither side can castle, the symbol '-' is used, otherwise each of four individual [[Castling rightsRights|castling rights]] for king and queen castling for both sides are indicated by a sequence of one to four letters.
<pre>
<Castling ability> ::= '-' | ['K'] ['Q'] ['k'] ['q'] (1..4)
=Forum Posts=
* [https://groups.google.com/d/msg/rec.games.chess.computer/0-xpXHbfzh4/GoKIkW0SKoUJ Help on PGN/ EPD-Format and its implementation wanted] by [[Rudolf Posch]], [[Computer Chess Forums|rgcc]], November 05, 1996 » [[Portable Game Notation|PGN]]
* [https://www.stmintz.com/ccc/index.php?id=20631 EPD examples: Bratko-Kopec test suite] by [[Steven Edwards|Steven J. Edwards]], [[CCC]], June 15, 1998 » [[Bratko-Kopec Test]]
* [https://www.stmintz.com/ccc/index.php?id=137052 EPD format] by [[Stefan Meyer-Kahlen]], [[CCC]], November 07, 2000
* [http://www.talkchess.com/forum/viewtopic.php?t=64003 FEN - Flipper for Windows] by [[Matthias Gemuh]], [[CCC]], May 17, 2017 » [[Color Flipping]], [[Forsyth-Edwards Notation|FEN]]
* [http://www.talkchess.com/forum/viewtopic.php?t=65881 how to create a labeled epd from pgn?] by [[Erin Dame]], [[CCC]], December 02, 2017 » [[Texel's Tuning Method]], [[Portable Game Notation|PGN]]
* [http://www.talkchess.com/forum3/viewtopic.php?f=7&t=70048 Fun challenge for best cool code] by [[Ed Schroder|Ed Schröder]], [[CCC]], February 28, 2019
: [http://www.talkchess.com/forum3/viewtopic.php?f=7&t=70048&start=3 Re: Fun challenge for best cool code] by [[Harm Geert Muller]], [[CCC]], February 28, 2019
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=71135 Scid vs. PC - EPD Export feature] by [[Steven Atkinson]], [[CCC]], June 29, 2019 » [[Scid vs. PC]]
=External Links=

Navigation menu