pub fn material(position: &Position) -> Cp
Expand description
Returns relative strength difference of pieces in position. Is equivalent of piece_centipawn(White) - pieces_centipawn(Black). A positive value is an advantage for white, 0 is even, negative is advantage for black.