feat: add min method to Outcome

This commit is contained in:
2025-11-16 09:50:17 +01:00
parent 331fd4d93a
commit e12e954d19
4 changed files with 49 additions and 1 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().min().unwrap();
println!("{} -> {}", roll_result, result);
}