Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Programming Issue: When & how should the engine claim a draw or res

Author: George Sobala

Date: 15:10:32 11/30/03

Go up one level in this thread


On November 30, 2003 at 18:07:52, Sune Fischer wrote:

>On November 30, 2003 at 16:37:17, Dieter Buerssner wrote:
>
>>PS. I don't want to say, that those rules are particually suited for engine
>>matches. But that is another problem.
>
>Yes, it seems to me this is a silly technical rule with no real purpose other
>than to cause trouble.
>
>What do you think would be the best way for a (WB-)engine to handle it?
>
>If the engine makes the drawing move after claiming the draw, then obviously,
>the engine will be sending a move _after_ the game is over.
>
>I think such move might not be recognized by WB, but there is no other way for
>the engine to send the move. The pgn is going to appear buggy because the
>drawing move is not recorded.
>
>In games against a human, one could perhaps have a popup box with "3-fold
>repetition on Rb8+", but such a box can't be used in automated matches.
>
>I wonder how the servers handle it, I suspect they accept a draw claim from both
>sides before and after the move, ie. simply ignoring the rule.
>
>-S.

Correct. ICC:

***** DRAW *****

Command : draw
Examples: draw  -- offers a draw to your opponent, or terminates the
                   game in a draw if the correct conditions hold.
          draw Joe -- offers a draw in your stored game with Joe, and
                      sends him a message with the offer.

This command ends the game in a draw if any of the following conditions
are true:

  * Your opponent offered you a draw and you have not moved since then.

  * The current position (or the one that you move into if you offer the
    draw and then move) has occurred at least twice before.  Everything
    must be EXACTLY the same, including the person to move, castling
    privileges, en passant possibilites, etc.

  * The last 50 moves (50 moves for each person) do not contain any
    captures or pawn moves.

If none of these conditions hold, then the command offers a draw to the
opponent.

Remember, you must type "draw" to claim a draw by "repetition" or the
"50-move rule".  The game does not end automatically.  This is the same
as in tournament chess, where must ask the TD or your opponent for
the draw.



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.