]> git.sesse.net Git - stockfish/commit
Reintroduce rook contact checks
authorMarco Costalba <mcostalba@gmail.com>
Sun, 12 Sep 2010 10:39:38 +0000 (11:39 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Tue, 14 Sep 2010 12:48:26 +0000 (13:48 +0100)
commitdd8a07612843f32d4073135fc9e17b8814aa34a5
tree62e503a8390a9940e08799848e8a4e0f66b9a323
parent4350d9e8a6c979c5631d05ecb645834882701e4c
Reintroduce rook contact checks

Were removed when merged from Glaurung 2.2, but without
any test.

Note that weight has been increased from original 2 to 4 and
has been also fixed a bug where in the original version were
considered also diagonal sqaures for the rook, that are
contact squares but not checks.

After 4449 games at 30"+0.1
Mod - Orig:  717 - 649 - 3083  ELO +5 (+- 4.1)

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/evaluate.cpp