pgn opening illegal move handling
Closed this issue · 0 comments
gahtan-syarif commented
i used this pgn opening where 4. Ka1 is an illegal move:
[Result "*"]
1. Nf3 f5 2. c4 Nf6 3. g3 e6 4. Ka1 d5 5. O-O c6 6. d3 Bd6 7. Nc3 dxc4 8. dxc4 e5 *
fast chess noticed this and stops parsing at 3. e6
, but in the output pgn, the moves that follow are still annotated as bookmoves:
1. Nf3 {book} f5 {book} 2. c4 {book} Nf6 {book} 3. g3 {book} e6 {book} 4. d3 {book}
Bd6 {book} 5. Nc3 {book} e5 {book} 6. Bh3 {+1.66/13 0.035s} f4 {-1.61/12 0.032s}
7. d4 {+1.76/12 0.034s} exd4 {-1.93/13 0.036s} 8. Nxd4 {+1.91/10 0.005s}
fxg3 {-1.80/9 0.009s}