# 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