Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func KeepHighestRolls ¶
func KeepLowestRolls ¶
func MultiRolls ¶
func Roll ¶
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 }
func RollExplodes ¶
RollExplodes keeps rerolling until not hitting an explode die number
Types ¶
Click to show internal directories.
Click to hide internal directories.