Discussion about this post

User's avatar
Nigel Smith's avatar

Hello Martin

I have also been playing around with python - chatgpt acts as a helpful programming buddy. So far I have got to the point where I can supply a collated pgn file of all my games (e.g. lichess, chess.com, chessbase) and get it analysed by opening (but applies to any pgn file).

I can get a break down of my win / draw / loss / score based on ECO, opening name / variation name or alternatively based on a specified number of moves currently.

There are quite a few useful python chess packages hanging around - e.g. pgnhelper will recategorise openings based on a file you supply - double checking opening / variation names and ECO codes (esp useful if missing). My thoughts were to get an automated report based on my openings to focus down on which openings have best results for me, which openings need more focus or are maybe not suited to me) and need changing.

You can do this by stepping through moves in lichess, chess.com but i wanted to have all my games analysed in one place.

I have a basic prototype working and thinking on where to go with it. My thoughts for next steps are to build out an eco / opening classification file that is geared to my repertoire and then analyse the games on that basis. pgnhelper provides a default opening classification but from what I can see you could substitute something geared more towards your own.

Regards

Nigel

Expand full comment
Diogo's avatar

thats really cool. are you coding it in python?

Expand full comment
14 more comments...

No posts