Function inanis::evaluation::material::evaluate
source · pub fn evaluate(board: &Board) -> i16
Expand description
Evaluates material on the board
and returns score from the white color perspective (more than 0 when advantage, less than 0 when disadvantage).
This simple evaluator sums all scores of all present pieces using incremental counters in board
, without considering the current game phase.