Computer Chess Club Archives


Search

Terms

Messages

Subject: How U detect repetition?

Author: TEERAPONG TOVIRAT

Date: 22:59:46 07/15/05



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



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.