Skip to content

Commit dc97abf

Browse files
committed
Fix that completes day 2
Refs #3
1 parent 8b4d09b commit dc97abf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

02/rock-paper-scissors2.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ fn main() -> io::Result<()> {
6666
};
6767
println!("{} {} {} {}", opponent, me, win_score, extra_score);
6868
score += extra_score;
69+
score += win_score;
6970
}
7071
println!("{}", score);
7172
Ok(())

0 commit comments

Comments
 (0)