// number and types of the enemy's attacking pieces, the number of
// attacked and undefended squares around our king and the quality of
// the pawn shelter (current 'score' value).
// number and types of the enemy's attacking pieces, the number of
// attacked and undefended squares around our king and the quality of
// the pawn shelter (current 'score' value).
+ 103 * ei.kingAdjacentZoneAttacksCount[Them]
+ 190 * popcount(undefended)
+ 142 * (popcount(b) + !!pos.pinned_pieces(Us))
+ 103 * ei.kingAdjacentZoneAttacksCount[Them]
+ 190 * popcount(undefended)
+ 142 * (popcount(b) + !!pos.pinned_pieces(Us))