Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Programming guru favour needed please

Author: Michel Langeveld

Date: 11:56:34 06/05/03

Go up one level in this thread


On June 05, 2003 at 14:51:25, Michel Langeveld wrote:

>>	if (doNull && !weAreInCheck && (depth >= NULL_R+1))
>>	{
>
>*** Are you sure in this what about:
>*** If think you need depth - NULL_R - 1 >= 0?
>
>
>>		/* switch off Null move if getting towards the endgame */
>>		if ((pieceMat[WHITE] > 500) && (pieceMat[BLACK] > 500))
>>		{
>
>*** Don't get why you want the material more as 500 if you wanna termine
>endgame. Why not: < 500?
>
>Let us know if your still have problems after correct this lines.

Ooch ... after thinking 1 second longer I think that
(depth - NULL_R - 1 >= 0) is equal as (depth >= NULL_R+1)

Also the the endgame check looks ok since you wanna do nullmover if it is not
the endgame....

Sorry about my bad English.




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.