Reordering
This commit is contained in:
parent
b6d2240d51
commit
1a967a5822
|
@ -70,8 +70,8 @@ impl Outcome {
|
|||
fn against(self, theirs: Rps) -> Rps {
|
||||
let inc = match self {
|
||||
Outcome::Win => 1,
|
||||
Outcome::Lose => -1,
|
||||
Outcome::Draw => 0,
|
||||
Outcome::Lose => -1,
|
||||
};
|
||||
|
||||
FromPrimitive::from_i8((theirs as i8 + inc).rem_euclid(3)).unwrap()
|
||||
|
|
Loading…
Reference in New Issue