game_solver::game

Function score_to_outcome

source
pub fn score_to_outcome<T: Game>(game: &T, score: isize) -> GameScoreOutcome
Expand description

Utility function to convert a score to the amount of moves to a win or loss, or a tie.