glinscott / leela-chess

**MOVED TO https://github.com/LeelaChessZero/leela-chess ** A chess adaption of GCP's Leela Zero
http://lczero.org
GNU General Public License v3.0
760 stars 299 forks source link

Invalid PGN files uploaded -- looks like two games #237

Closed killerducky closed 6 years ago

killerducky commented 6 years ago

http://lczero.org/user/y_Sensei http://lczero.org/game/2198808

View page source to see the pgn. Looks like two complete games, I'm guessing they ended in checkmate but I didn't verify.

pgnString: '1. e4 h5 2. Nf3 g6 3. d4 d6 4. h3 c6 5. Bc4 Nf6 6. e5 dxe5 7. Nxe5 e6 8.\nBg5 Bg7 9. Nc3 a5 10. Ne4 Qe7 11. Ng3 Qd8 12. Ne4 a4 13. Qf3 Qxd4 14. Nxf6\x2b\nKf8 15. Qe3 Qxe3\x2b 16. fxe3 Nd7 17. Nfxd7\x2b Bxd7 18. Nxd7\x2b Kg8 19. Bf6 Bxf6\n20. Nxf6\x2b Kg7 21. g3 Kxf6 22. a3 Rac8 23. Rc1 b5 24. Bd3 Ke7 25. Ke2 Rc7\n26. g4 hxg4 27. hxg4 Rxh1 28. Rxh1 Rc8 29. b3 Ra8 30. b4 Kd6 31. c4 Rb8 32.\nRh7 Rf8 33. cxb5 cxb5 34. Bxb5 Ke7 35. Rg7 Kd6 36. Bxa4 e5 37. Bb3 Kc6 38.\nKd3 Kd7 39. Rxf7\x2b Rxf7 40. Bxf7 Kc6 41. Bg8 g5 42. b5\x2b Kxb5 43. Be6 Kc6 44.\nKc4 Kd6 45. Bf7 e4 46. Kb4 Kd7 47. Bg8 Ke7 48. Bf7 Kxf7 49. Kc5 Ke6 50. Kd4\nKf7 51. a4 Kf8 52. Kxe4 Kf7 53. Kf5 Kg7 54. Kxg5 Kh7 55. Kf5 Kg7 56. a5 Kf7\n57. e4 Kg7 58. g5 Kh7 59. Kf6 Kg8 60. a6 Kh7 61. e5 Kg8 62. Kf5 Kh7 63. a7\nKg7 64. Kf4 Kg6 65. Kg4 Kf7 66. Kf5 Ke8 67. Kf4 Kf7 68. Kf5 Ke8 69. a8=B\nKe7 70. Bf3 Kd8 71. e6 Ke7 72. Be2 Kf8 73. Kf6 Ke8 74. Bb5\x2b Kf8 75. Bf1 Kg8\n76. g6 Kh8 77. e7 Kg8 78. e8=R\x2b \n1. Nf3 Nf6 2. d4 d5 3. c4 c6 4. cxd5 cxd5 5. h3 g6 6. g3 Bg7 7. Bg2 Nc6 8.\nO-O O-O 9. Qc2 Bf5 10. Qd2 Ne4 11. Qd1 Rc8 12. Na3 Qd7 13. Nc2 Nc5 14. dxc5\nBxh3 15. Ne3 d4 16. Qa4 dxe3 17. Bxe3 Bxg2 18. Kxg2 h5 19. Rad1 Qe6 20. Qb5\nNd4 21. Nxd4 Qxa2 22. b4 e5 23. Nf3 Rc7 24. Qa5 Rd7 25. Qxa2 a5 26. Qxa5 e4\n27. Rxd7 b5 28. Bd4 exf3\x2b 29. exf3 Be5 30. Kh2 Rb8 31. Qc7 Bxc7 32. Rxc7\nKh7 33. Be3 Kg8 34. g4 hxg4 35. Bf4 Rd8 36. fxg4 Rd4 37. Bg5 Rxg4 38. Kh3\nRc4 39. Rb7 Kg7 40. Re7 Kf8 41. Re8\x2b Kxe8 42. Bd2 Rd4 43. Re1\x2b Kd7 44. Bc3\nRd5 45. Bf6 Rf5 46. Rd1\x2b Kc8 47. Bd4 Rf3\x2b 48. Kh2 Rb3 49. c6 Kc7 50. Bc5\nRc3 51. Rd6 Kb8 52. Rd7 Rb3 53. Rb7\x2b Ka8 54. Rxb5 Rg3 55. Kxg3 f5 56. c7\nf4\x2b 57. Kxf4 g5\x2b 58. Ke5 g4 59. Bb6 g3 60. c8=Q\x2b \n'
Uriopass commented 6 years ago

Fixed with #225 (someone was using this PR, the PR is fixed now)