test/data/game021.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 Nf6 2. Nc3 g6 3. d3 Bg7 4. Bd2 O-O 5. g3 d6 6. Bg2 Be6 7. Bxb7 c6 8. Bxa8 Qc7 9. Qb3 Na6 10. Bb7 Rb8 11. Qa3 Nc5 12. Ba6 Nxa6 13. Qxa6 Rxb2 14. Be3 Rb6 15. Bxb6 axb6 16. Nf3 1-0

mercurial