Skip to content
Permalink
Browse files

Try the opposite and give bishop outposts double weight. Bonus factor…

… = 50. Bench: 3421720
  • Loading branch information...
Stefan Geschwentner
Stefan Geschwentner committed May 15, 2019
1 parent 90340c8 commit bb364ffbe3aea22d2c26f858dcbead854ce5aece
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/evaluate.cpp
@@ -313,7 +313,7 @@ namespace {
if (bb & s)
{
if (b & attackedBy[Them][KING])
outpostsKingAttack[Us] += (Pt == KNIGHT ? 2 : 1);
outpostsKingAttack[Us] += (Pt == BISHOP ? 2 : 1);
score += Outpost * (Pt == KNIGHT ? 4 : 2)
* ((attackedBy[Us][PAWN] & s) ? 2 : 1);
}

0 comments on commit bb364ff

Please sign in to comment.
You can’t perform that action at this time.