Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: claiming a 3-fold repetition

Author: Daniel Clausen

Date: 12:45:02 12/01/03

Go up one level in this thread


On December 01, 2003 at 15:41:40, Robert Hyatt wrote:

>I have just finished modifying Crafty to do this strictly by the FIDE rules
>even though I consider it silly to do so.  The easiest solution, for a program
>that wants to output this:
>
>my move is xxx
>
>I claim a draw by 3-fold repetition
>
>is to output "my move is xxx" followed by the ANSI sequence to back the cursur
>up
>3-4 lines, then output "I claim a draw by 3-fold repetition".  It appears to be
>printed instantly.  However, in reality it is printed milliseconds (or less)
>right after the move.  So,
>
>Crafty's output now looks like this:
>
>I claim a draw by 3-fold repetition after my move.
>
>White(6): Rcd7+
>
>I would hope that no one finds fault with that.  Rcd7+ is Crafty's move.
>It repeats the position for the third time after that move is played.
>
>So now we have _one_ program that does this correctly.  :)

Why the trick of backing up the cursor some lines? Why not simply switch the
lines? Would this confuse xboard?

Btw: I suggested "draw {Rcd7+}" as a possible xboard-command. That would be the
best IMHO.

Sargon



This page took 0.01 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.