Forsyth-Edwards Notation (FEN) is a standard notation for recording a particular chess position, including the location of pieces, which side is to move, what castling rights are available, etc.

learn more… | top users | synonyms

5
votes
1answer
84 views

Question on FEN and castling

I was reading about FEN notation, and noticed the following line in the relevant Wikipedia article: If neither side can castle, this is "-". Otherwise, this has one or more letters: "K" (White can ...
7
votes
1answer
252 views

Differences between FEN and EPD?

I just read the description of FEN (Forsyth–Edwards Notation) and EPD (Extended Position Description), I have a basic idea of what they are, but I still have some points that are not entirely clear: ...
5
votes
1answer
98 views

Why isn't the active color allowed to be in check in a FEN legal position?

The title says it. Reading up on how to describe the position of a board, all of the requirements make sense (like two kings not being on adjacent squares and so on) except for the active color being ...
11
votes
3answers
488 views

How to know when a FEN position is legal?

I am doing a personal project, where at one point I need to validate the FEN position, I started with some basics checks, such as check if there are kings and making sure there aren't any extra rows ...
12
votes
3answers
554 views

Open source chess playing or pgn viewing libraries

Is anyone familiar with any open source chess libraries in any language that can do any of the following: parse PGNs and/or FENs calculate valid chess moves based on position process an entire chess ...