Hi all,
Posted this in general-programming-chat and was advised to forward this here. Thank you to @ tors (quoting is bad practice, right?) for sharing useful links at https://github.com/ornicar/lichess-puzzler & https://github.com/kraktus/lichess-puzzler. Unfortunately, I am not quite sure how to use them for my application as the documentation is rather scant.
I was very interested in how lichess.org generates tactics for his Puzzles DB. I was thinking of using something similar to find all combinations within games played in a certain opening (I am studying the Semi-Slav, Botvinnik and having a database of thematic tactics would be helpful). I intend to run the algo on a .pgn containing Master and model games in my opening of interest, and extracting all tactics to practice later.
I stumbled upon this: https://github.com/vitogit/pgn-tactics-generator (which is based upon https://github.com/clarkerubber/Python-Puzzle-Creator ) and played around w/ it a little, but w/o much success. The program seemingly analyzes the games and does detect tactics within my test.pgn, but it does not store the them in tactics.pgn (where I would expect to find the FEN and soution, though I am mostly just interested in the FEN). I am running the latest version of Stockfish 17 and Python 3.13.2.
If anyone has experience w/ this, all hints and tips are appreciated. Thanks!