Search in Co-Wiki

Forsyth–Edwards Notation

game-theory 1206 tokens 2 outbound links

Forsyth–Edwards Notation

History ### Forsyth notation FEN is based on a system known as Forsyth notation, developed in 1883 by Scottish newspaper journalist David Forsyth. His system became popular in the 19th century. Unlike modern FEN, this notation, designed as a short-hand for writing out the position of every piece on the board, was only interested in capturing the position of the pieces, and not the other metadata such as which player is to move, castling availability, and move count, which presumably would have been written out in full or implied by context.

The notation was first proposed by Forsyth in the Glasgow Weekly Herald on February 2, 1883. Forsyth wrote:

Forsyth's original system used one line of written text for each rank of the board. Each piece was denoted by a letter or letters: K, Q, R, B, P, with the knight being denoted with "Kt", which was the convention at the time. Black pieces were denoted with an underline. Empty squares were denoted with a "0", with a series of adjacent empty squares being denoted with that number (e.g. "5" denoted a sequence of five empty squares on a row). Oddly, this meant that one would use "0" for one square and "2" for two squares, with no use for the digit "1".

Forsyth gives an example (with the accompanying text "after Black's 40th move"):

denoting a position with a black rook on b8, two black pawns on f7 and g7, white rooks on a6 and d6 and a black pawn on h6, and so on. The equivalent position in modern FEN is:

<pre> 1r6/5pp1/R1R4p/1r1pP3/2pkQPP1/7P/1P6/2K5 w - - 0 41 </pre>

By 1897, the notation appears to have evolved to more resemble the modern syntax, with the following example given in a biography of Forsyth in The Chess Bouquet:

In this version, the position is written all on one line, with commas to separate ranks, the "0" denoting a single empty square has been replaced with a "1", and black pieces are denoted with lowercase letters rather than underlines. The equivalent position in modern FEN is:

<pre> 1B6/2n5/p1N1P2R/P1K3N1/4Pk2/1Q2p2p/6nP/1B4R1 w - - 0 1 </pre>

Extension by Edwards In 1993, Steven J. Edwards extended Forsyth's system to support its use by computers, as part of the Portable Game Notation standard. The most commonly cited version was published on March 12, 1994}}

For the traditional setup, Shredder-FEN would use AHah instead of KQkq.

Another solution is offered by x-fen, which offers more backward compatibility than Shredder-FEN does, but at the cost of more complexity.

See also *Extended Position Description *Portable Game Notation

Notes ## References ## External links *[Portable Game Notation Specification and Implementation Guide, Steven J. Edwards](https://ia802908.us.archive.org/26/items/pgn-standard-1994-03-12/PGN_standard_1994-03-12.txt)