4 releases

0.1.3 Sep 23, 2024
0.1.2 Sep 23, 2024
0.1.1 Sep 23, 2024
0.1.0 Sep 23, 2024

#115 in Simulation

MIT/Apache

4KB
62 lines

Dice roller

use tudelft_example_dice::roll;

let res = roll("2d6")

enum DiceRollError {
    Parse
}

fn roll(s: impl AsRef<str>) -> Result<> {}


lib.rs:

This library simulates dice rolls

Dependencies

~0.5–1MB
~21K SLoC