Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Programming guru favour needed please

Author: Zach Wegner

Date: 16:09:10 06/05/03

Go up one level in this thread


On June 05, 2003 at 18:50:29, Landon Rabern wrote:

>On June 05, 2003 at 18:06:16, Zach Wegner wrote:
>
>>
>>>        /* Note the swap of alpha beta here & the 3 minus signs */
>>>		value = -search(-beta, -alpha, depth - 1, TRUE);
>>
>>As far as I looked, this should be your only problem. The last parameter should
>>be doNull because if it is true then multiple null moves can be made in one
>>line.
>>Zach
>
>No, I think it is fine the way he has it.  It is ok to make multiple null moves
>in one line, just not multiple null moves in a row (unless you are doing double
>nullmove and then you limit it to 2 in a row).
>
>Regards,
>
>Landon

The way it works in his code allows one player to do two moves, and then the
other player to do two moves. This basically defeats the purpose of null moves.
If you are going to make multiple null moves, you must make sure they are all
done by the same player.



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.