test/data/game044.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. f4 exf4 3. Nf3 g5 4. h4 g4 5. Ng5 d6 6. Bc4 Nh6 7. d4 f6 8. Ne6 Bxe6 9. Bxe6 Qe7 10. d5 c6 11. Nc3 Nd7 12. Bxf4 Nc5 13. Bxh6 Bxh6 14. Qxg4 cxd5 15. exd5 Nxe6 16. dxe6 O-O-O 17. O-O Be3+ 18. Kh1 Rhg8 19. Qc4+ Kb8 20. Nd5 Qg7 21. Qe4 Bc5 22. Nxf6 Qh6 23. Nxg8 Rxg8 24. e7 Re8 25. Rae1 d5 26. Qf4+ Qxf4 27. Rxf4 Bxe7 28. Rf7 1-0

mercurial