We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 94a480d + 6514500 commit 41e7e0fCopy full SHA for 41e7e0f
src/evaluate.cpp
@@ -481,12 +481,13 @@ namespace {
481
kingDanger += kingAttackersCount[Them] * kingAttackersWeight[Them]
482
+ 69 * kingAttacksCount[Them]
483
+ 185 * popcount(kingRing[Us] & weak)
484
+ - 100 * bool(attackedBy[Us][KNIGHT] & attackedBy[Us][KING])
485
+ 150 * popcount(pos.blockers_for_king(Us) | unsafeChecks)
486
+ 5 * tropism * tropism / 16
487
- 873 * !pos.count<QUEEN>(Them)
488
- 6 * mg_value(score) / 8
489
+ mg_value(mobility[Them] - mobility[Us])
- - 30;
490
+ - 25;
491
492
// Transform the kingDanger units into a Score, and subtract it from the evaluation
493
if (kingDanger > 0)
0 commit comments