Use special null move technique in low depth.

Try good captures before null move when depth < 3 * OnePly.
Use this kind of null move also in Depth == OnePly.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Joona Kiiski
2009-08-24 20:06:09 +03:00
committed by Marco Costalba
parent a5d699d62f
commit b088f0aefd
2 changed files with 5 additions and 2 deletions

View File

@@ -1282,7 +1282,7 @@ namespace {
bool isCheck = pos.is_check();
bool useNullMove = ( allowNullmove
&& depth > OnePly
//&& depth > OnePly
&& !isCheck
&& !value_is_mate(beta)
&& ok_to_do_nullmove(pos)