test/data/game136.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

149
ea2448961441 add 150 example games to test PGN parser
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1 [Result "1-0"]
ea2448961441 add 150 example games to test PGN parser
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2
ea2448961441 add 150 example games to test PGN parser
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3 1. d4 d5 2. Nf3 Nf6 3. Nc3 e6 4. Bg5 Be7 5. Qd2 h6 6. Bh4 O-O 7. Ne5 a6 8. f3 Qd6 9. g4 Ne4 10. Nxe4 Bxh4+ 11. Ng3 Bg5 12. f4 Bh4 13. O-O-O Bxg3 14. hxg3 Nd7 15. g5 Nxe5 16. fxe5 Qe7 17. gxh6 f5 18. Qf4 g5 19. Qf2 Rf7 20. e3 Rh7 21. Be2 Bd7 22. g4 Kf7 23. gxf5 exf5 24. Bh5+ Ke6 25. Bg6 Rhh8 26. Qxf5# 1-0

mercurial