package
0.3.0
Repository: https://github.com/njdaniel/dnd.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
ParseRollString parses a string of roll info into a DiceInfo's fields.
func explodes(d int, m map[int]struct{}) []int { r := Roll(d) rolls := make([]int, 0) rolls = append(rolls, r) if _, ok := m[r]; ok { } return rolls}.
RollExplodes keeps rerolling until not hitting an explode die number.
No description provided by the author

# Structs

DiceInfo contains the information about a roll.