test/data/game075.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. c4 e6 2. g3 Qg5 3. Bg2 Bb4 4. Nf3 Qc5 5. O-O Qxc4 6. d3 Qb5 7. a4 Qb6 8. Nc3 Nf6 9. b3 Ng4 10. Ne4 f5 11. Neg5 Bc5 12. d4 Bd6 13. h3 h5 14. hxg4 hxg4 15. Nh4 Nc6 16. Be3 e5 17. d5 Nd4 18. Bxd4 exd4 19. e3 dxe3 20. Qe2 Kd8 21. Qxe3 Bc5 22. Qe2 d6 23. Nf7+ Kd7 24. Nxh8 1-0

mercurial