+ 98 * popcount(pos.blockers_for_king(Us))
+ 69 * kingAttacksCount[Them] * (2 + 8 * pos.check_counting() + pos.captures_to_hand()) / 2
+ 3 * kingFlankAttack * kingFlankAttack / 8
- + mg_value(mobility[Them] - mobility[Us]) * !pos.captures_to_hand()
+ + mg_value(mobility[Them] - mobility[Us]) * int(!pos.captures_to_hand())
- 873 * !(pos.major_pieces(Them) || pos.captures_to_hand())
* 2 / (2 + 2 * pos.check_counting() + 2 * pos.two_boards() + 2 * pos.makpong()
+ (pos.king_type() != KING) * (pos.diagonal_lines() ? 1 : 2))