mirror of
https://github.com/sockspls/badfish
synced 2025-07-11 19:49:14 +00:00
Evaluation threat values after 39089 games
Verified against tuning branch. After 100 games at 1+0 on Joona QUAD Mod - Orig: 527.5 - 471.5 (+20 elo) Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
12b0517d1b
commit
d9b920acfb
1 changed files with 10 additions and 10 deletions
|
@ -245,10 +245,10 @@ namespace {
|
||||||
// attacks which one.
|
// attacks which one.
|
||||||
const Value MidgameThreatBonus[8][8] = {
|
const Value MidgameThreatBonus[8][8] = {
|
||||||
{ V(0), V(0), V(0), V(0), V(0), V(0), V(0), V(0) }, // not used
|
{ V(0), V(0), V(0), V(0), V(0), V(0), V(0), V(0) }, // not used
|
||||||
{ V(0),V(30), V(0),V(50), V(70), V(70), V(0), V(0) }, // KNIGHT attacks
|
{ V(0),V(18), V(0),V(37), V(55), V(55), V(0), V(0) }, // KNIGHT attacks
|
||||||
{ V(0),V(30),V(50), V(0), V(70), V(70), V(0), V(0) }, // BISHOP attacks
|
{ V(0),V(18),V(37), V(0), V(55), V(55), V(0), V(0) }, // BISHOP attacks
|
||||||
{ V(0),V(20),V(40),V(40), V(0), V(50), V(0), V(0) }, // ROOK attacks
|
{ V(0), V(9),V(27),V(27), V(0), V(37), V(0), V(0) }, // ROOK attacks
|
||||||
{ V(0),V(40),V(40),V(40), V(40), V(0), V(0), V(0) }, // QUEEN attacks
|
{ V(0),V(27),V(27),V(27), V(27), V(0), V(0), V(0) }, // QUEEN attacks
|
||||||
{ V(0), V(0), V(0), V(0), V(0), V(0), V(0), V(0) }, // not used
|
{ V(0), V(0), V(0), V(0), V(0), V(0), V(0), V(0) }, // not used
|
||||||
{ V(0), V(0), V(0), V(0), V(0), V(0), V(0), V(0) }, // not used
|
{ V(0), V(0), V(0), V(0), V(0), V(0), V(0), V(0) }, // not used
|
||||||
{ V(0), V(0), V(0), V(0), V(0), V(0), V(0), V(0) } // not used
|
{ V(0), V(0), V(0), V(0), V(0), V(0), V(0), V(0) } // not used
|
||||||
|
@ -256,10 +256,10 @@ namespace {
|
||||||
|
|
||||||
const Value EndgameThreatBonus[8][8] = {
|
const Value EndgameThreatBonus[8][8] = {
|
||||||
{ V(0), V(0), V(0), V(0), V(0), V(0), V(0), V(0) }, // not used
|
{ V(0), V(0), V(0), V(0), V(0), V(0), V(0), V(0) }, // not used
|
||||||
{ V(0),V(40), V(0),V(50),V(100),V(100), V(0), V(0) }, // KNIGHT attacks
|
{ V(0),V(37), V(0),V(47), V(97), V(97), V(0), V(0) }, // KNIGHT attacks
|
||||||
{ V(0),V(40),V(50), V(0),V(100),V(100), V(0), V(0) }, // BISHOP attacks
|
{ V(0),V(37),V(47), V(0), V(97), V(97), V(0), V(0) }, // BISHOP attacks
|
||||||
{ V(0),V(30),V(50),V(50), V(0), V(50), V(0), V(0) }, // ROOK attacks
|
{ V(0),V(27),V(47),V(47), V(0), V(47), V(0), V(0) }, // ROOK attacks
|
||||||
{ V(0),V(40),V(40),V(40), V(40), V(0), V(0), V(0) }, // QUEEN attacks
|
{ V(0),V(37),V(37),V(37), V(37), V(0), V(0), V(0) }, // QUEEN attacks
|
||||||
{ V(0), V(0), V(0), V(0), V(0), V(0), V(0), V(0) }, // not used
|
{ V(0), V(0), V(0), V(0), V(0), V(0), V(0), V(0) }, // not used
|
||||||
{ V(0), V(0), V(0), V(0), V(0), V(0), V(0), V(0) }, // not used
|
{ V(0), V(0), V(0), V(0), V(0), V(0), V(0), V(0) }, // not used
|
||||||
{ V(0), V(0), V(0), V(0), V(0), V(0), V(0), V(0) } // not used
|
{ V(0), V(0), V(0), V(0), V(0), V(0), V(0), V(0) } // not used
|
||||||
|
@ -268,11 +268,11 @@ namespace {
|
||||||
// ThreatedByPawnPenalty[] contains a penalty according to which piece
|
// ThreatedByPawnPenalty[] contains a penalty according to which piece
|
||||||
// type is attacked by an enemy pawn.
|
// type is attacked by an enemy pawn.
|
||||||
const Value MidgameThreatedByPawnPenalty[8] = {
|
const Value MidgameThreatedByPawnPenalty[8] = {
|
||||||
V(0), V(0), V(50), V(50), V(70), V(80), V(0), V(0)
|
V(0), V(0), V(56), V(56), V(76), V(86), V(0), V(0)
|
||||||
};
|
};
|
||||||
|
|
||||||
const Value EndgameThreatedByPawnPenalty[8] = {
|
const Value EndgameThreatedByPawnPenalty[8] = {
|
||||||
V(0), V(0), V(70), V(70), V(100), V(120), V(0), V(0)
|
V(0), V(0), V(70), V(70), V(99), V(118), V(0), V(0)
|
||||||
};
|
};
|
||||||
|
|
||||||
// InitKingDanger[] contains bonuses based on the position of the defending
|
// InitKingDanger[] contains bonuses based on the position of the defending
|
||||||
|
|
Loading…
Add table
Reference in a new issue