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
23 votes
7 answers

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 ...
ajax333221's user avatar
  • 3,138
13 votes
7 answers

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 ...
Unni Krishnan's user avatar
4 votes
2 answers

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 ...
Payal's user avatar
  • 43
2 votes
2 answers

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 ...
Kale's user avatar
  • 65
17 votes
3 answers

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 ...
Andrew Lazarus's user avatar
13 votes
1 answer

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? ...
John's user avatar
  • 233
0 votes
2 answers

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.
MikhailTal's user avatar
  • 3,261