Closed asdfjkl closed 3 years ago
This was a bug in the supplied fen [FEN "6R1/2p1qr1k/1p1p1r1p/p3p3/2P1P3/2P3Q1/PP3P2/2K3R1 w - - 0 0"] - the last digit MUST be at least 1 according to spec. Added a check to work around such incorrectly written FEN strings.
For PGNs with FENs where the halfmove number starts with zero, 0. is displayed as the first fullmove (instead of 1). Cf. PGN of Seirawan "winning chess strategies" book.