Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: draw by repetition when using best move from transposition table ent

Author: Branislav Bezak

Date: 19:15:10 01/14/06

Go up one level in this thread


I'm doing something like this:

if(entry.Depth < depth)
{
	// found entry but depth is less then required
}
else
{
	if(entry.EvalType == EvalTypeExact ||
	  (entry.EvalType == EvalTypeBetaCutoff && entry.Score >= beta) ||
	  (entry.EvalType == EvalTypeAlphaCutoff && entry.Score <= alpha)
	)
	{
// what do I need to do here to detect immediate or future draw by repetition?
		bestMove.m = entry.BestMove;
		return entry.Score;
	}
}

Thanks, Branislav



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.