Skip to content

Commit f86d2ae

Browse files
committed
Re-add "Further increase safe checks bonus"
After 40K games at 60 secs, result is still not clear, but not a regression against SF 4 After ELO: 50.11 +-2.1 (95%) LOS: 100.0% Total: 40000 W: 10547 L: 4817 D: 24636 Before ELO: 49.51 +-2.1 (95%) LOS: 100.0% Total: 40000 W: 10483 L: 4821 D: 24696 So re-apply the patch to avoid to special-case this one. bench: 7403882
1 parent 35ea39b commit f86d2ae

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/evaluate.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -200,12 +200,12 @@ namespace {
200200
const int KingAttackWeights[] = { 0, 0, 2, 2, 3, 5 };
201201

202202
// Bonuses for enemy's safe checks
203-
const int QueenContactCheck = 12;
204-
const int RookContactCheck = 8;
205-
const int QueenCheck = 6;
206-
const int RookCheck = 4;
207-
const int BishopCheck = 1;
208-
const int KnightCheck = 2;
203+
const int QueenContactCheck = 24;
204+
const int RookContactCheck = 16;
205+
const int QueenCheck = 12;
206+
const int RookCheck = 8;
207+
const int BishopCheck = 2;
208+
const int KnightCheck = 3;
209209

210210
// KingExposed[Square] contains penalties based on the position of the
211211
// defending king, indexed by king's square (from white's point of view).

0 commit comments

Comments
 (0)