test/data/game148.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 e5 2. Nc3 c5 3. g3 Nc6 4. Bg2 d6 5. d3 Bd7 6. e3 Nf6 7. Nge2 Be7 8. O-O O-O 9. d4 cxd4 10. exd4 exd4 11. Nxd4 Nxd4 12. Qxd4 Rb8 13. Qxa7 b5 14. Nxb5 Bxb5 15. cxb5 Rxb5 16. Re1 Re8 17. Bc6 Qb6 18. Qxb6 Rxb6 19. Bxe8 Bd8 20. Bd2 Rxb2 21. Bc3 Rc2 22. Bxf6 Bxf6 23. Ba4 h6 24. Bxc2 1-0

mercurial