Class FEN
Description of FEN: This tag uses a string that gives the Forsyth-Edwards Notation for the starting position used in the game. FEN is described in a later section of this document. If a SetUp tag appears with a tag value of "1", the FEN tag pair is also required.
Data fields (6): Piece placement data, Active color, Castling availability, En passant target square, Halfmove clock, Fullmove number
Examples: rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1 rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq e3 0 1 rnbqkbnr/pp1ppppp/8/2p5/4P3/8/PPPP1PPP/RNBQKBNR w KQkq c6 0 2 rnbqkbnr/pp1ppppp/8/2p5/4P3/5N2/PPPP1PPP/RNBQKB1R b KQkq - 1 2 4k3/8/8/8/8/8/4P3/4K3 w - - 5 39
- pgn\tags\Tag
- pgn\tags\FEN
public
the
|
|
public
boolean
|
|
public static
string
|
__toString(),
createTag(),
formatted(),
get(),
getDefaultValue(),
parse(),
parseTagName(),
parseTagValue(),
set()
|
$data,
$errorMsg
|