test/data/game101.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 "0-1"]

1. c4 Nf6 2. Nc3 e6 3. g3 d5 4. cxd5 Nxd5 5. d4 c6 6. Bg2 b5 7. e3 Bb7 8. Nge2 Nd7 9. O-O h6 10. Nxd5 cxd5 11. a3 Be7 12. Nc3 a6 13. Qb3 Rc8 14. a4 Bc6 15. axb5 axb5 16. Nxb5 Rb8 17. Ra6 0-1

mercurial