fn score_multiplier(active_player: Player) -> i8 {
    if active_player != Player::Red {
        -1
    } else {
        1
    }
}
/// Scores are returned for the active player.
/// This multiplier corrects to the start player.
Scores are returned for the active player.
This multiplier corrects to the start player.
Scores are returned for the active player . This multiplier corrects to the start player .
fn score_multiplier(active_player: Player) -> i8 {
    if active_player != Player::Red {
        -1
    } else {
        1
    }
}
fn score_multiplier ( active_player : Player ) -> i8 { if active_player != Player :: Red { - 1 } else { 1 } }
Scores are returned for the active player.
Scores are returned for the active player .
active_player
Player
active_player
Player