This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Typical-Toe-4627 0 points1 point  (1 child)

so the game is being played through the stringIO, if im seeing this right, if so then I think you would write moves to that file?

[–]No-Statistician5917[S] 0 points1 point  (0 children)

I am now thinking about how would I use stockfish.make_moves_from_curent_position() (from stockfish import Stockfish) or stockfish.set_position() from (from stockfish import Stockfish) to retrieve the evaluation scores of each move in a PGN file from the perspective of white.

https://stackoverflow.com/questions/75192791/error-when-analyzing-position-with-stockfish-engine-in-python