test/data/game098.pgn

Thu, 03 Sep 2026 16:18:24 +0200

author
Mike Becker <universe@uap-core.de>
date
Thu, 03 Sep 2026 16:18:24 +0200
changeset 216
d0c3d3016650
parent 149
ea2448961441
permissions
-rw-r--r--

make castling rights part of the game state

required for issue #939
because creating a state from FEN
will not contain a move history

bonus: make is_check_position() robust

[Result "1-0"]

1. d4 d5 2. c4 Nf6 3. Nc3 e6 4. Bg5 Be7 5. e3 h6 6. Bxf6 Bxf6 7. Nf3 O-O 8. Bd3 Nd7 9. Bc2 Be7 10. Qd3 Nf6 11. cxd5 exd5 12. Ne5 Bd6 13. h4 a5 14. Nxd5 Bxe5 15. Nxf6+ 1-0

mercurial