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.
pub fn score_to_outcome<T: Game>(game: &T, score: isize) -> GameScoreOutcome
Utility function to convert a score to the amount of moves to a win or loss, or a tie.