feat: add method max to Outcome

This commit is contained in:
2025-11-16 09:30:22 +01:00
parent 32eafd26bc
commit 1688b2acc2
4 changed files with 50 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
use oxidice_lib::dice::*;
fn main() {
let roll_result = Handful::grab(2, 20).roll();
let result = roll_result.clone().max().unwrap();
println!("{} -> {}", roll_result, result);
}