Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Horizon problems. ( Imagine you were back in the 80s )

Author: Georg v. Zimmermann

Date: 04:39:59 07/21/00

Go up one level in this thread


On July 20, 2000 at 15:46:38, Gian-Carlo Pascutto wrote:

>On July 20, 2000 at 09:58:23, Georg v. Zimmermann wrote:
>
>>/* We get mated if we don't move,
>> * so this is a dangerous position, extend it.
>> */
>>	if (NullValue < -MATE ) 		{ isThreat [ply] = 1 ;}
>>	else	                                { isThreat [ply] = 0 ;}
>
>This is wrong. Your search probably never ever returns something smaller
>than -MATE. Change it to '-MATE+200' or something like that, so you extend
>positions where the nullmove gets you mated-in-x.
>
>--
>GCP

#define INFINITY    32000
#define MATE        25000 /* If a move is mate it will be at least this */
#define MATE_IN_ONE 30000 /* The value of mate in one, mate in 2 will be one
                             less this make Deepbug pick the fastest mate */

#define ALMOST_MATE 20000 /* Almost mate means that there aren't any legal
                              moves, but that the person can sit for a piece
                              when there will be legal moves */

But thanks for trying to help !!

Georg :)



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.