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.
1 parent 9050eac commit 6514500Copy full SHA for 6514500
src/evaluate.cpp
@@ -482,12 +482,13 @@ namespace {
482
kingDanger += kingAttackersCount[Them] * kingAttackersWeight[Them]
483
+ 69 * kingAttacksCount[Them]
484
+ 185 * popcount(kingRing[Us] & weak)
485
+ - 100 * bool(attackedBy[Us][KNIGHT] & attackedBy[Us][KING])
486
+ 150 * popcount(pos.blockers_for_king(Us) | unsafeChecks)
487
+ 5 * tropism * tropism / 16
488
- 873 * !pos.count<QUEEN>(Them)
489
- 6 * mg_value(score) / 8
490
+ mg_value(mobility[Them] - mobility[Us])
- - 30;
491
+ - 25;
492
493
// Transform the kingDanger units into a Score, and subtract it from the evaluation
494
if (kingDanger > 0)
0 commit comments