test/data/game014.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. c4 e5 2. Nc3 Nf6 3. g3 Bb4 4. Bg2 Bxc3 5. bxc3 d5 6. cxd5 Nxd5 7. Rb1 Nc6 8. c4 Nf6 9. Qa4 Bd7 10. Qb3 O-O 11. Ba3 Nd4 12. Qc3 Bc6 13. Bxc6 bxc6 14. Bxf8 Qxf8 15. Nf3 Nxf3+ 16. Qxf3 Qa3 17. Qxa3 1-0

mercurial