Hi,
I was confident that my program solved all endgame positions but I get WA. Could anyone supply me with challenging input to see if I agree with you? Mine solves the sample input correctly...
Here's one piece of info I have determined:
(partial spoiler)
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
The maximum number of moves to checkmate is 35, any position not resolved by then is a draw.
Thanks,
Mark
10383 - Queen vs Rook
Moderator: Board moderators
-
- Problemsetter
- Posts: 22
- Joined: Tue Jun 11, 2002 12:35 am
10383 Queen vs Rook: WA
Thanks for pointing me toward my output -- my table was correct but I was incorrectly rotating the best moves during output. Whew, good problem!
-Mark
-Mark
In case anyone is still interested in this very old thread, pls clarify for me.
Why the output of the first sample "WKa1 BKa3 WRc2 BQd2 B" is not:
Do I need to know further rules of Chess to get the sample output?
Why the output of the first sample "WKa1 BKa3 WRc2 BQd2 B" is not:
Code: Select all
Black mates in 1
Qxc1#
I'm guessing you mean "Qxc2#" rather than "Qxc1#".Cho wrote:In case anyone is still interested in this very old thread, pls clarify for me.
Why the output of the first sample "WKa1 BKa3 WRc2 BQd2 B" is not:Do I need to know further rules of Chess to get the sample output?Code: Select all
Black mates in 1 Qxc1#
Check mate can only occur if you are checked. If you cannot move, but are not checked, the game ends a draw.
(Incidentally, I learned this rule when solving this problem.)