Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Detecting three-fold repetition?

Author: Dann Corbit

Date: 13:33:53 07/17/00

Go up one level in this thread


On July 17, 2000 at 16:25:56, KarinsDad wrote:
[snip]
>One additional thing you can do is shorten the list every time a move is made.

Same thing for any capture: Just truncate the list to the current position in
that case.  Castling is also not reversible.  Probably some others.

>If a pawn is pushed, for example, then you can drop the list down to one element
>(i.e. the root position).
>
>But to tell you the truth, this mechanism will not work for 3 move reps found
>completely in the search, just for the start of 2 move reps where the first
>position has already been made.

You are going to have to generate each legal move anyway.  So from any position,
you can know if any of the generated moves is a draw.  Something that happens
deeply later could be a problem though.  Is that what you are talking about?



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.