.O.
..O Deniz's personal pages
OOO
/home /about

ChessPresso extract FEN

May 9, 2018

Chesspresso is a great library for processing chess games stored in PGN format. One of the greatest uses I have found for chesspresso is using it to extract FENs of the current position on the board. I’ve used this for example to create a candidate move selector in a chess database application. Here is a an example usage to extract the FENs from a game PGN given as a String:

Tags: #chess #programming