test/data/game107.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. e4 e5 2. Nf3 Nc6 3. Bc4 Nf6 4. Ng5 d5 5. exd5 Nxd5 6. Qf3 Qxg5 7. Bxd5 Qg6 8. Nc3 Nd4 9. Bxf7+ Qxf7 10. Qe4 Bd6 11. O-O Rb8 12. f4 Bf5 13. Qe3 Nxc2 14. Qxa7 c5 15. fxe5 Nxa1 16. Ne4 Bxe5 17. Nxc5 Bd4+ 18. Kh1 O-O 19. g4 0-1

mercurial