test/data/game014.pgn

Fri, 24 Jul 2026 12:42:57 +0200

author
Mike Becker <universe@uap-core.de>
date
Fri, 24 Jul 2026 12:42:57 +0200
changeset 153
bad2d6d4b861
parent 149
ea2448961441
permissions
-rw-r--r--

fix wrong error message when move indices are invalid

was INVALID_POSITION "no piece cannot be moved this way"
but should be INVALID_MOVE_SYNTAX

[Result "1-0"]

1. c4 e5 2. Nc3 Nf6 3. g3 Bb4 4. Bg2 Bxc3 5. bxc3 d5 6. cxd5 Nxd5 7. Rb1 Nc6 8. c4 Nf6 9. Qa4 Bd7 10. Qb3 O-O 11. Ba3 Nd4 12. Qc3 Bc6 13. Bxc6 bxc6 14. Bxf8 Qxf8 15. Nf3 Nxf3+ 16. Qxf3 Qa3 17. Qxa3 1-0

mercurial