Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

50-move-rule and mate #5

Closed
Matthies opened this issue Jan 19, 2019 · 4 comments
Closed

50-move-rule and mate #5

Matthies opened this issue Jan 19, 2019 · 4 comments

Comments

@Matthies
Copy link

Hi again.
Look at this game:

[Event "PGN Import"]
[Site "?"]
[Date "?"]
[Round "?"]
[White "?"]
[Black "?"]
[Result "*"]
[ECO "C83"]
[Opening "Spanische Partie"]
[Variation "Offene Verteidigung, Klassisch, 10.Nbd2 O-O 11.Bc2 f5 12.Nb3"]
[TimeControl "40/120:40/120:40/120"]
[Termination "unterminated"]
[PlyCount "200"]
[WhiteType "human"]
[BlackType "human"]

  1. e4 e5 2. Nf3 Nc6 3. Bb5 a6 4. Ba4 Nf6 5. O-O Nxe4 6. d4 b5 7. Bb3 d5 8.
    dxe5 Be6 9. Nbd2 Be7 10. c3 O-O 11. Bc2 f5 12. Nb3 Qd7 13. Nbd4 Na5 14.
    Nxe6 Qxe6 15. Nd4 Qxe5 16. f3 c5 17. Ne2 Nf6 18. Nf4 g6 19. Re1 Qd6 20. a4
    Qd7 21. h3 c4 22. axb5 axb5 23. g4 d4 24. g5 d3 25. gxf6 Bxf6 26. Bb1 Rfd8
  2. Kh1 Bh4 28. Rg1 d2 29. Qxd2 Qxd2 30. Bxd2 Rxd2 31. Bxf5 Rxb2 32. Rg2
    Rxg2 33. Be6+ Kf8 34. Kxg2 Ke7 35. Bd5 Ra6 36. Bb7 Ra7 37. Be4 Kf7 38. Ra2
    Bf6 39. Nd5 Bg7 40. f4 Ke6 41. h4 Nc6 42. Rxa7 Nxa7 43. Kg3 Kd6 44. h5 Kc5
  3. hxg6 hxg6 46. Kf2 Nc6 47. Ke2 Nd8 48. Kd2 Ne6 49. Ke3 Bh6 50. Bg2 g5
  4. fxg5 Bxg5+ 52. Ke2 Bh6 53. Be4 Ng5 54. Bh1 Bg7 55. Bg2 Kd6 56. Ke3 Ne6
  5. Kd2 Nc5 58. Kc2 Na4 59. Bf3 Bh8 60. Bg2 Nc5 61. Bh1 Ne6 62. Bf3 Bg7 63.
    Kd2 Bh6+ 64. Ke2 Bg5 65. Bg2 Bf4 66. Bf3 Be5 67. Kd2 Ng5 68. Bg2 Kc5 69.
    Ke2 Nf7 70. Bf3 Kd6 71. Kf2 Ng5 72. Bg2 Ne6 73. Ke3 Bg3 74. Bf3 Be1 75. Ke2
    Bh4 76. Bg2 Nc5 77. Bf3 Nd3 78. Kd2 Bg5+ 79. Ke2 Kc5 80. Be4 Bd8 81. Kd2
    Ne5 82. Ke3 Kd6 83. Kf2 Bg5 84. Nb4 Ng4+ 85. Ke2 Bf6 86. Bc6 Kc5 87. Kd2
    Bg5+ 88. Ke2 Nf6 89. Bh1 Bc1 90. Bf3 Ba3 91. Na6+ Kd6 92. Kd2 Kd7 93. Ke3
    Ne8 94. Kd4 Kd6 95. Bh5 Nf6 96. Bf7 Bc1 97. Nc5 Bd2 98. Nb7+ Kc7 99. Nc5
    Be1 100. Na6+ Kd6 *

My engine played 101. Nb4?? believing that the next move of the opponent triggers 50-moves-draw.
And so does Winter-0.4. But next move then is 101. … Bf2 mate.

I'm not a Chess Player myself but people in Grahams Chat told me that mate has priority to 50 moves counter full. So we probably have to fix that in both of our engines.

@Matthies
Copy link
Author

Seems that the pgn gets crippled so heres the Notation of the game in uci:
position startpos moves e2e4 e7e5 g1f3 b8c6 f1b5 a7a6 b5a4 g8f6 e1g1 f6e4 d2d4 b7b5 a4b3 d7d5 d4e5 c8e6 b1d2 f8e7 c2c3 e8g8 b3c2 f7f5 d2b3 d8d7 b3d4 c6a5 d4e6 d7e6 f3d4 e6e5 f2f3 c7c5 d4e2 e4f6 e2f4 g7g6 f1e1 e5d6 a2a4 d6d7 h2h3 c5c4 a4b5 a6b5 g2g4 d5d4 g4g5 d4d3 g5f6 e7f6 c2b1 f8d8 g1h1 f6h4 e1g1 d3d2 d1d2 d7d2 c1d2 d8d2 b1f5 d2b2 g1g2 b2g2 f5e6 g8f8 h1g2 f8e7 e6d5 a8a6 d5b7 a6a7 b7e4 e7f7 a1a2 h4f6 f4d5 f6g7 f3f4 f7e6 h3h4 a5c6 a2a7 c6a7 g2g3 e6d6 h4h5 d6c5 h5g6 h7g6 g3f2 a7c6 f2e2 c6d8 e2d2 d8e6 d2e3 g7h6 e4g2 g6g5 f4g5 h6g5 e3e2 g5h6 g2e4 e6g5 e4h1 h6g7 h1g2 c5d6 e2e3 g5e6 e3d2 e6c5 d2c2 c5a4 g2f3 g7h8 f3g2 a4c5 g2h1 c5e6 h1f3 h8g7 c2d2 g7h6 d2e2 h6g5 f3g2 g5f4 g2f3 f4e5 e2d2 e6g5 f3g2 d6c5 d2e2 g5f7 g2f3 c5d6 e2f2 f7g5 f3g2 g5e6 f2e3 e5g3 g2f3 g3e1 e3e2 e1h4 f3g2 e6c5 g2f3 c5d3 e2d2 h4g5 d2e2 d6c5 f3e4 g5d8 e2d2 d3e5 d2e3 c5d6 e3f2 d8g5 d5b4 e5g4 f2e2 g5f6 e4c6 d6c5 e2d2 f6g5 d2e2 g4f6 c6h1 g5c1 h1f3 c1a3 b4a6 c5d6 e2d2 d6d7 d2e3 f6e8 e3d4 d7d6 f3h5 e8f6 h5f7 a3c1 a6c5 c1d2 c5b7 d6c7 b7c5 d2e1 c5a6 c7d6

@rosenthj
Copy link
Owner

rosenthj commented Mar 4, 2019

This should be fixed now!
Thanks again!

@rosenthj rosenthj closed this as completed Mar 4, 2019
@vshcherbyna
Copy link

vshcherbyna commented Mar 5, 2019 via email

@rosenthj
Copy link
Owner

rosenthj commented Mar 5, 2019

Im trying to monitor the situation, but so far I haven't seen any actual issues, they just happen to pause event testing every time Winter is playing...

rosenthj added a commit that referenced this issue Mar 8, 2019
Score of Winter 0.5.2 vs Winter 0.5.1: 2021 - 1480 - 4833 [0.532] 8334
Elo difference: 22.59 +/- 4.82
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants