test/data/game075.pgn

Thu, 30 Jul 2026 19:17:38 +0200

author
Mike Becker <universe@uap-core.de>
date
Thu, 30 Jul 2026 19:17:38 +0200
changeset 163
2a6d83f4677e
parent 149
ea2448961441
permissions
-rw-r--r--

major refactoring of rules API

- validate_move() no longer alters the game state (fixes #935)
- get_threats() now correctly only reports threats
while get_candidates() reports possible moves (fixes #959)
- qualify GameState and Move parameters as const where possible

[Result "1-0"]

1. c4 e6 2. g3 Qg5 3. Bg2 Bb4 4. Nf3 Qc5 5. O-O Qxc4 6. d3 Qb5 7. a4 Qb6 8. Nc3 Nf6 9. b3 Ng4 10. Ne4 f5 11. Neg5 Bc5 12. d4 Bd6 13. h3 h5 14. hxg4 hxg4 15. Nh4 Nc6 16. Be3 e5 17. d5 Nd4 18. Bxd4 exd4 19. e3 dxe3 20. Qe2 Kd8 21. Qxe3 Bc5 22. Qe2 d6 23. Nf7+ Kd7 24. Nxh8 1-0

mercurial