31 Commits

Author SHA1 Message Date
c056b4f269 doc: add roll 4d6 keep 3 lowest example 2025-11-19 10:27:30 +01:00
3a3c1487bb feat: add keep_lowest method to Outcome 2025-11-19 10:19:47 +01:00
d29fa81fbb feat: add keep_highest method to Outcome 2025-11-16 11:08:20 +01:00
8c45bf629c doc: add exploding d6 example 2025-11-16 10:40:38 +01:00
5f10a57d35 feat: add exploding dice 2025-11-16 10:40:28 +01:00
f5e5ee2c91 review: replace i32 with Vec<i32> as roll return type for future exploding dice 2025-11-16 10:28:53 +01:00
98249789ee doc: add 4D Fudge example 2025-11-16 10:22:54 +01:00
8247fe9241 feat: add grab_range method to Handful 2025-11-16 10:18:01 +01:00
2ed6d79b29 chore: move fn roll_sides outside of main method fn 2025-11-16 10:02:08 +01:00
23185bfd86 review: change Die to enum to handle range and value list in the future 2025-11-16 10:01:13 +01:00
4d4810b52b review: change roll result type to i32 2025-11-16 09:52:44 +01:00
e12e954d19 feat: add min method to Outcome 2025-11-16 09:50:17 +01:00
331fd4d93a fix: set correct default value for max search 2025-11-16 09:36:30 +01:00
a8fbfabbcc fix: set correct type of error for max 2025-11-16 09:33:15 +01:00
1688b2acc2 feat: add method max to Outcome 2025-11-16 09:30:22 +01:00
32eafd26bc chore: comment out useless import 2025-11-16 09:10:49 +01:00
768f021a46 doc: add OSE stat roll down the line 2025-11-16 09:10:14 +01:00
87b837aa45 review: change Outcome output 2025-11-16 09:09:45 +01:00
8620cc124a feat: add sum method to Outcome 2025-11-16 09:03:58 +01:00
85194b3f0f doc: add roll 3d6 example 2025-11-16 08:40:10 +01:00
0eddb019dd feat: add method roll to Handful 2025-11-16 08:31:33 +01:00
a6c44bce22 feat: implement roll for Die 2025-11-16 08:23:29 +01:00
201cafe329 feat: add enum 'Outcome' 2025-11-16 08:20:47 +01:00
00b0463465 feat: implement 'grab' for Handful 2025-11-16 08:11:43 +01:00
11a6f4c592 feat: add 'new' method for Die struct 2025-11-16 08:07:38 +01:00
a0f3d98fa2 feat: add a new empty struct Die 2025-11-16 08:05:48 +01:00
13d77f136e feat: add a new empty function to grab a handful of dice 2025-11-16 08:05:08 +01:00
97a0fbb163 feat: add a new empty struct Handful 2025-11-16 08:02:54 +01:00
85824b87ff feat: add an empty error enum 2025-11-16 08:00:52 +01:00
e0fe0786ac chore: initialize a standard lib project 2025-11-16 07:58:16 +01:00
9aac3d6bed chore: initialize a new workspace with empty lib project 2025-11-16 07:56:13 +01:00