test/data/game121.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. e4 e5 2. d4 exd4 3. c3 dxc3 4. Bc4 cxb2 5. Bxb2 d6 6. Nf3 Be6 7. Qa4+ Nd7 8. Bb5 Qe7 9. O-O Nf6 10. e5 Nd5 11. exd6 Qxd6 12. Re1 Nb6 13. Qe4 O-O-O 14. Nc3 Nc5 15. Qc2 a6 16. Be2 g6 17. Ne4 Nxe4 18. Qxe4 Rg8 19. a4 Bf5 20. Qh4 h5 21. a5 Nd5 22. Rac1 Qf6 23. Qc4 Qxb2 24. Rb1 Qc3 25. Qa2 Be6 26. Rec1 Qf6 27. Qb3 Ne3 28. Qxb7+ 1-0

mercurial