Questions tagged [fen]

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.

Filter by
Sorted by
Tagged with
21
votes
7answers
6k views

How do you know when a FEN position is legal?

I am making a research on validating FEN positions, at first it is obvious the basics things to look for, such as checking if there are only two kings and making sure the rows or columns add up and ...
8
votes
7answers
6k views

How can I scan a chessboard and obtain its FEN?

I am planning to create a chess puzzle book for beginners. Diagrams need to be published in the book. Right now I have all the materials in PDF. But I need a software to create diagrams for a ...
2
votes
2answers
484 views

Engine output: FEN string when blundering

What is the best way to go through a database of my games and have the computer generate a FEN string as well as the next move any time I make an error greater than, say, a minor piece loss? I've ...
16
votes
3answers
2k views

High-quality (not bitmap) diagram software

I'm looking for software that can take FEN and generate a high-quality diagram, in PDF, Postscript, Windows metafile, or something else that will look good at 1200x1200 dpi or better. I thought the ...
13
votes
1answer
5k views

Stockfish evaluation of a position from PGN

I am trying to get Stockfish's evaluation of a board position(which is in PGN format) using command line.I know it accepts board position in FEN format, but is there any way i can provide PGN format? ...
4
votes
1answer
3k views

Chess Engine API

I am writing a C# 3D chess game in Unity. I am looking for a chess engine that can Take in an FEN string Return the best move to make given this FEN Check if the board given this FEN is in checkmate ...
0
votes
2answers
403 views

Numerical FEN writing

What is the most compressed way to "write" a chessboard as an integer considering en passant and castling as always possible no matter what.