Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Detecting 3rd Repetition

Author: Robert Hyatt

Date: 18:42:07 02/05/99

Go up one level in this thread


On February 05, 1999 at 21:11:23, James Robertson wrote:

>My program is losing too many half-points by 3rd repetition draws. How do other
>programs detect these draws?
>
>Thanks!
>James


simplest approach is to save the hash signature after every move.  In the
search, compare the current hash signature to ones you have already found
either earlier in the tree or in prior real moves.  Duplicates mean repetition.

You can save time by using the 50-move counter to control how far 'back' you
look thru this list, and you can clear it out each time you make an irreversible
move on the board...



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.