Skip to content
Permalink
Browse files

Use king safety for midgame initiaitve (quarter effect) but compensat…

…e. Bench: 3652782
  • Loading branch information...
Stefan Geschwentner
Stefan Geschwentner committed Oct 9, 2019
1 parent f1fe31d commit 9281f19b63befcfce715a1b9cb5bfa8d3fd8b8b9
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/evaluate.cpp
@@ -727,8 +727,8 @@ namespace {
-103 ;

int complexity_mg = complexity_eg
+ mg_value(kingSafety[WHITE] + kingSafety[BLACK]) / 8
+ 110;
+ mg_value(kingSafety[WHITE] + kingSafety[BLACK]) / 64
+ 57;

// Now apply the bonus: note that we find the attacking side by extracting the
// sign of the midgame or endgame values, and that we carefully cap the bonus

0 comments on commit 9281f19

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