Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: How U detect repetition?

Author: Pallav Nawani

Date: 21:16:29 07/16/05

Go up one level in this thread


On July 16, 2005 at 01:59:46, TEERAPONG TOVIRAT wrote:

>
>Hi,
>
>In every Search() I test repetition from the current node back to the last
>capture or pawn move. Formerly, If *two* same positions occur I return 0.
>This leads to an unfavorable outcome when there is two repetitions my
>program always think every move after that point is a draw. Then I made
>change to return draw after 3 repetitions. It can solve the problem but quite
>often the program makes 2 repetitions intentionally. How u fix this?
>
>Thanks for your comments,
>Teerapong

Hi,

When your search is in ply 0 & 1, return draw if there are three repetitions.
When search is in ply 2 & deeper, return draw on 2 repetitions.

Pallav.



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.