mirror of
https://github.com/sockspls/badfish
synced 2025-05-02 17:49:35 +00:00
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
This commit is contained in:
parent
35ea39bed2
commit
f86d2aee29
1 changed files with 6 additions and 6 deletions
|
@ -200,12 +200,12 @@ namespace {
|
||||||
const int KingAttackWeights[] = { 0, 0, 2, 2, 3, 5 };
|
const int KingAttackWeights[] = { 0, 0, 2, 2, 3, 5 };
|
||||||
|
|
||||||
// Bonuses for enemy's safe checks
|
// Bonuses for enemy's safe checks
|
||||||
const int QueenContactCheck = 12;
|
const int QueenContactCheck = 24;
|
||||||
const int RookContactCheck = 8;
|
const int RookContactCheck = 16;
|
||||||
const int QueenCheck = 6;
|
const int QueenCheck = 12;
|
||||||
const int RookCheck = 4;
|
const int RookCheck = 8;
|
||||||
const int BishopCheck = 1;
|
const int BishopCheck = 2;
|
||||||
const int KnightCheck = 2;
|
const int KnightCheck = 3;
|
||||||
|
|
||||||
// KingExposed[Square] contains penalties based on the position of the
|
// KingExposed[Square] contains penalties based on the position of the
|
||||||
// defending king, indexed by king's square (from white's point of view).
|
// defending king, indexed by king's square (from white's point of view).
|
||||||
|
|
Loading…
Add table
Reference in a new issue