Computer Chess Club Archives


Search

Terms

Messages

Subject: A question about Null-Move pruning implementation

Author: Federico Corigliano

Date: 17:44:50 07/12/03


In previous version of my chess engine I have:

if(!in_check && !threat && (phase != ENDGAME) && depth > 2)
{
    Do_null_move()
    ...


Now I changed it to:

if(!in_check && !threat && (phase != ENDGAME))
{
    Do_null_move()
    ...

And performs better in the WAC test suite.
Now when the remaining depth is < than R, it goes directly to the Qsearch,
because I have:

if(depth <= 0 || depth >= MAXDEPTH)
{
    score = Qsearch();
    return score;
}

Anyone probed this? It's safe?

Federico



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.