test/data/game144.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 "0-1"]
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 Bf5 3. e3 Nc6 4. c3 e6 5. Nbd2 Nf6 6. Be2 Ne4 7. O-O Nxd2 8. Nxd2 Bd6 9. Bf3 O-O 10. e4 dxe4 11. Nxe4 Bxe4 12. Bxe4 Qh4 13. g3 Qxe4 14. Re1 Qg6 15. c4 Bb4 16. Re3 Rad8 17. Qb3 Ba5 18. Qxb7 Nxd4 19. Qxa7 Bb6 20. Qa4 Nc2 0-1

mercurial