Permalink
Browse files

Update evaluate.cpp

  • Loading branch information...
FauziAkram committed Dec 6, 2017
1 parent e700b13 commit f765b213ef7918aff662235335ac57b882bb479d
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/evaluate.cpp
View
@@ -150,7 +150,7 @@ namespace {
// MobilityBonus[PieceType-2][attacked] contains bonuses for middle and end game,
// indexed by piece type and number of attacked squares in the mobility area.
const Score MobilityBonus[][32] = {
Score MobilityBonus[][32] = {
{ S(-75,-76), S(-57,-54), S( -9,-28), S( -2,-10), S( 6, 5), S( 14, 12), // Knights
S( 22, 26), S( 29, 29), S( 36, 29) },
{ S(-48,-59), S(-20,-23), S( 16, -3), S( 26, 13), S( 38, 24), S( 51, 42), // Bishops
@@ -165,6 +165,7 @@ namespace {
S( 79,140), S( 88,143), S( 88,148), S( 99,166), S(102,170), S(102,175),
S(106,184), S(109,191), S(113,206), S(116,212) }
};
TUNE(SetRange(-100, 260), MobilityBonus);
// Outpost[knight/bishop][supported by pawn] contains bonuses for minor
// pieces if they can reach an outpost square, bigger if that square is

0 comments on commit f765b21

Please sign in to comment.