Don't prune discovered checks

Don't prune and eventually extend check moves of type
DISCO_CHECK (pun intended, Lucas will understand :-) ).

Patch from Lucas Braesch that has also tested it:

Result: 879-661-2137, score=52.96%, LOS=100.00% (time 10"+0.1")

I have started a verification test right now.

bench: 6004966
This commit is contained in:
Marco Costalba
2012-11-07 18:20:39 +01:00
parent 3b87314331
commit 96d3b1c92b
4 changed files with 22 additions and 12 deletions

View File

@@ -130,6 +130,12 @@ enum MoveType {
CASTLE = 3 << 14
};
enum CheckType {
NO_CHECK,
DIRECT_CHECK,
DISCO_CHECK
};
enum CastleRight { // Defined as in PolyGlot book hash key
CASTLES_NONE = 0,
WHITE_OO = 1,