I'm looking at the puzzles database CSV, and for example here's the first row:
00008,r6k/pp2r2p/4Rp1Q/3p4/8/1N1P2R1/PqP2bPP/7K b - - 0 24,f2g3 e6e7 b2b1 b3c1 b1c1 h6c1,1830,76,90,228,crushing hangingPiece long middlegame,lichess.org/787zsVup/black#48
The FEN is r6k/pp2r2p/4Rp1Q/3p4/8/1N1P2R1/PqP2bPP/7K b - - 0 24 (lichess.org/study/m0TuKIBE). Be3 is the solution, as Stockfish will suggest if you go to that puzzle, but the moves listed start with f2g3, or Bxg3, in SAN. That's a blunder that totally loses the game though. I think those are the moves from the real game, not the right moves.
So I'm trying to create a CLI chess tactics tool, but I guess I'm at a loss as to how I should use the puzzles. I could run stockfish on the position and just use its suggested move as the best move, so for 1 move at a time that's not bad. Then the problem is how far to continue the tactic, but maybe I could just continue until stockfish says that there are two roughly equal moves.
Guess I'm just hoping someone will tell me I'm missing something here, because it would make my life a lot easier if the puzzles had solutions.
00008,r6k/pp2r2p/4Rp1Q/3p4/8/1N1P2R1/PqP2bPP/7K b - - 0 24,f2g3 e6e7 b2b1 b3c1 b1c1 h6c1,1830,76,90,228,crushing hangingPiece long middlegame,lichess.org/787zsVup/black#48
The FEN is r6k/pp2r2p/4Rp1Q/3p4/8/1N1P2R1/PqP2bPP/7K b - - 0 24 (lichess.org/study/m0TuKIBE). Be3 is the solution, as Stockfish will suggest if you go to that puzzle, but the moves listed start with f2g3, or Bxg3, in SAN. That's a blunder that totally loses the game though. I think those are the moves from the real game, not the right moves.
So I'm trying to create a CLI chess tactics tool, but I guess I'm at a loss as to how I should use the puzzles. I could run stockfish on the position and just use its suggested move as the best move, so for 1 move at a time that's not bad. Then the problem is how far to continue the tactic, but maybe I could just continue until stockfish says that there are two roughly equal moves.
Guess I'm just hoping someone will tell me I'm missing something here, because it would make my life a lot easier if the puzzles had solutions.