Function advent_of_code_2022::day_2::score_result
source · fn score_result(round: &(Move, Move)) -> u32
Expand description
Calculate the part of a round score based on the round’s outcome
fn score_result(round: &(Move, Move)) -> u32
Calculate the part of a round score based on the round’s outcome