test/data/game057.pgn@d0c3d3016650
test/data/game057.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
[Result "1-0"]
1. g3 e5 2. Bg2 Nf6 3. Nf3 e4 4. Nd4 b6 5. c3 Bb7 6. O-O Bc5 7. Nb3 Be7 8. d3 O-O 9. Bg5 h6 10. Bxf6 Bxf6 11. dxe4 d6 12. Nd4 Nd7 13. Nd2 Rb8 14. e5 Bxg2 15. Kxg2 Bxe5 16. Nc6 Qg5 17. Nxb8 Nxb8 18. Nf3 Qg6 19. Qd5 Nd7 20. Qb7 Nf6 21. Qxc7 d5 22. Qxe5 1-0