Function terminal

Source
pub fn terminal(position: &Position) -> Cp
Expand description

Given a terminal node, return a score representing a checkmate or a draw. The return score is relative to the player to move.