Skip to content

Commit dc6830a

Browse files
Ralph Stößermcostalba
authored andcommitted
take 2
bench: 7454593
1 parent 54837f2 commit dc6830a

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/evaluate.cpp

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

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

210+
211+
210212
// KingExposed[Square] contains penalties based on the position of the
211213
// defending king, indexed by king's square (from white's point of view).
212214
const int KingExposed[] = {

0 commit comments

Comments
 (0)