test/data/game139.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. c4 e5 2. Nc3 Nf6 3. g3 c6 4. Bg2 d5 5. cxd5 Nxd5 6. Nxd5 cxd5 7. d3 Nc6 8. Bd2 Be7 9. Qb3 Be6 10. Qxb7 Nd4 11. Rc1 O-O 12. Ba5 Qxa5+ 13. Rc3 Bb4 0-1

mercurial