Reference · Rolls and exact odds
MAX_EXPLOSIONSconstant
How many more dice one exploding die may throw. The chain stops there and the last die is read as it lies, so a roll always ends and its odds are the exact odds of the dice as thrown. A d6 gets this far once in 60 million dice.
Import it
import { MAX_EXPLOSIONS } from "@johnmorrisdotca/korokoro";
Definition
const MAX_EXPLOSIONS: 10 = 10
Examples
import { MAX_EXPLOSIONS } from "@johnmorrisdotca/korokoro";
console.log(MAX_EXPLOSIONS);10What it prints (run when this page was built)