fsmosca/chess-chiller

command line option output pv with blunder

Opened this issue · 0 comments

suggest option with --save-last-move maybe --save-pv-line, default false, like

game
[Event "?"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "?"]
[Black "?"]
[Result "*"]
[PlyCount "4"]

  1. e4 e5 2. Ba6 Nf6 *

save-last-move/save-pv-line true output blunder and pv/score from engine

[Event "?"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "?"]
[Black "?"]
[Result "*"]
[SetUp "1"]
[FEN "rnbqkbnr/pppp1ppp/B7/4p3/4P3/8/PPPP1PPP/RNBQK1NR b KQkq - 0 2"]
[PlyCount "17"]

  1. Ba6 Nxa6 3. Nc3 Bc5 4. d3 d6 5. Nf3 Nf6 6. h3 Bd7 7. O-O h6 8. a3 O-O 9.
    b4 Bb6 10. Bd2 Qe7 {-3.56/16} *

save-last-move true, save-pv-line false like now

[Event "?"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "?"]
[Black "?"]
[Result "*"]
[SetUp "1"]
[FEN "rnbqkbnr/pppp1ppp/B7/4p3/4P3/8/PPPP1PPP/RNBQK1NR b KQkq - 0 2"]
[PlyCount "17"]

  1. Ba6 Nxa6 *