AB_12345 #1Like, how does Lichess look at a specific moment in a game and decide "hmm, yeah, this ought to be a good puzzle"?
glbert #2i doubt there is a simple answer to this question. but the code for it is here: github.com/ornicar/lichess-puzzler/tree/master/generator