Sanny wrote:
Actually, Daniel's message is detailed enough that I know exactly which
section of your code is buggy and how to fix it. If you want to be
positive, play through his game, or ask your programmers to do the
same, and they'll see, too.
May be you get disconnected.
No, that wasn't the problem.
Ok I Replayed the Game with Beginner Level without Login and Same game
was played
Hi Sanny,
That was a nice effort on your part.
17. Kh1 Bxe5
(HERE YOU are GETTING CHECK by ROOK at h8)
When you took Bishop at e5 by Rxe5 Your king being Checked by Rook at
h8
So 18: Rxe5 Rxh1 (And you king is Mated)
Actually, this is a subtle bug in your program.
18.Rxe5 is an illegal move. When a player is in check, he must move out
of check. You must not allow Rxe5, the same way you don't allow Rxc8.
The rules say, "If, during a game, it is found that an illegal move was
made, the position shall be reinstated to what it was before the
illegal move was made." And further, "Playing an illegal move does not
imply the loss of the game."
18...Rxh1 is also illegal. You're not allowed to capture your
opponent's king.
18. Rxe5 (board reset and the move showing in the list was Black moved Rh1).
---
likesforests
Become a Chess Expert --
http://likesforests.blogspot.com/