Open bhathiya opened 7 years ago
Hi Bhatihiya,
You'll need to parse the PGN. Then feed it to pystockfish move by move. It'd be a good feature if it were automated.
Best, Jarret
Hi Jarret,
Thank you for the response. Do you mean I should parse the PGN using some other library? If yes, I can do that with python-chess
. Let's say I did that and have the list of moves? Could you please show me how I can feed it to pystockfish and get something like I have mentioned above?
Appreciate your help.
Thanks, Bhathiya
Main example answers your question.
Best, Jarret
Thank you. I'll try that.
Is it possible to import an entire game from a pgn file, and then analyze it?
For example, to find if the white queen is available after the 10th move? Or what are the mistakes made in the game etc.?
Thanks.