Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
3 votes
1 answer
234 views

Converting image to FEN programmatically

I'm wanting to create a little screenshot tool that takes a screenshot and outputs an FEN to the clipboard. I was hoping to use chessvision.ai, but it does not seem to have an API that allows me to ...
av06's user avatar
  • 91
1 vote
2 answers
153 views

Changing the FEN position color

How would I write a function that would change the color to play of the given position and be consistent with? Example FEN: input:rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR w KQkq - 0 1 output:...
user38519's user avatar
1 vote
2 answers
631 views

Is it preferable to pass a FEN notation or list of moves to a chess engine?

I am actually programming a chess UI and I'd like to communicate with a chess engine using UCI protocol. After reading the protocol specifications, I am not sure how to use the position command. For ...
Hugo's user avatar
  • 13
5 votes
1 answer
283 views

Probability of given position/piece configuration

I'm currently working on an image based FEN generator. I found a paper doing the same and they have used Stockfish to calculate the most probable piece configurations. Now I wonder if Stockfish has ...
user13723229's user avatar
3 votes
2 answers
522 views

A script that can create a chess tree from an EPD file

Is there any script (any language) that can make a chess tree from an EPD file? Or what algorithm (any example) should be use to create it on my own? I am looking for one like the Chessbase opening ...
dDo's user avatar
  • 69
3 votes
4 answers
1k views

FEN inverter website/page?

This board shows the black pieces on the bottom, but the white pieces are supposed to be there; I accidentally set up the board so that white's pieces are on the black side. I am looking to flip the ...
Jossie Calderon's user avatar
13 votes
1 answer
7k 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? ...
John's user avatar
  • 233
16 votes
3 answers
3k 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 ...
James Tomasino's user avatar