Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Repetitions: is this code correct?

Author: José Carlos

Date: 06:58:15 07/12/02

Go up one level in this thread


On July 12, 2002 at 09:52:03, Ricardo Gibert wrote:

>On July 12, 2002 at 09:27:43, José Carlos wrote:
>
>>On July 12, 2002 at 09:19:10, Richard Pijl wrote:
>>
>>><snipped irrelevant part>

>How should this next position be handled?
>
>[D]8/6k1/1b6/2p5/3pP3/3P4/1B4K1/8 b - e3 0 1
>
>White has just played e2e4 and the reply de3 e.p. is not a legal move. Should
>this position recur, is it counted as a repetition since the same set of legal
>moves for Black are available? Either way, do programs handle this case
>corrrectly?

  According to Richard quote
***
"Positions as in (a) and (b) are considered the same, if the same player has the
move, pieces of the same kind and colour occupy the same squares, and the
possible moves of all the pieces of both players are the same."
***
  I understand possible moves = legal moves, so it should be considered a
repetition. As for chess programs, I'm afraid most won't handle it correctly, if
not all, because you would have to test if de3 is legal in the moment you're
deciding whether e3 is an ep square or not.

  José C.



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.