README.md
# Diced
Simple algraeic dice notation parser for Gleam
[![Package Version](https://img.shields.io/hexpm/v/diced)](https://hex.pm/packages/diced)
[![Hex Docs](https://img.shields.io/badge/hex-docs-ffaff3)](https://hexdocs.pm/diced/)
```sh
gleam add diced
```
```gleam
import diced
pub fn main() {
let dice = diced.dice_from_string("2d20kh")
// Ok(diced.Dice(2, 20, diced.Advantage))
}
```
Further documentation can be found at <https://hexdocs.pm/diced>.
## Development
```sh
gleam run # Run the project
gleam test # Run the tests
```