1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-07-12 03:59:15 +00:00

Back to CLOP average values

This commit is contained in:
Gary Linscott 2013-02-16 22:36:58 -05:00
parent 3922ac2fe4
commit d570260a28
2 changed files with 1 additions and 5 deletions

View file

@ -151,7 +151,7 @@ namespace {
#undef S #undef S
// CLOP now likes 85, 31 - try next // CLOP now likes 85, 31 - try next
Score BishopPinBonus = make_score(66, 11); const Score BishopPinBonus = make_score(34, 17);
// Bonus for having the side to move (modified by Joona Kiiski) // Bonus for having the side to move (modified by Joona Kiiski)
const Score Tempo = make_score(24, 11); const Score Tempo = make_score(24, 11);
@ -309,8 +309,6 @@ namespace Eval {
KingDangerTable[0][i] = apply_weight(make_score(t, 0), make_score(KingDanger[0], 0)); KingDangerTable[0][i] = apply_weight(make_score(t, 0), make_score(KingDanger[0], 0));
KingDangerTable[1][i] = apply_weight(make_score(t, 0), make_score(KingDanger[1], 0)); KingDangerTable[1][i] = apply_weight(make_score(t, 0), make_score(KingDanger[1], 0));
} }
BishopPinBonus = make_score(Options["pin_open"], Options["pin_end"]);
} }

View file

@ -87,8 +87,6 @@ void init(OptionsMap& o) {
o["Slow Mover"] = Option(100, 10, 1000); o["Slow Mover"] = Option(100, 10, 1000);
o["UCI_Chess960"] = Option(false); o["UCI_Chess960"] = Option(false);
o["UCI_AnalyseMode"] = Option(false, on_eval); o["UCI_AnalyseMode"] = Option(false, on_eval);
o["pin_open"] = Option(66, -100, 100, on_eval);
o["pin_end"] = Option(11, -100, 100, on_eval);
} }