Reference · Rolls and exact odds
MAX_REROLLSconstant
How many times one die is thrown again by a reroll-until (r<). After
that it stands as it lies, in the roll and in the odds alike. Such a reroll
may match at most half a die's faces, so at the very worst one die in a
thousand gets this far; a d6 rerolling its 1s does once in 60 million.
Import it
import { MAX_REROLLS } from "@johnmorrisdotca/korokoro";
Definition
const MAX_REROLLS: 10 = 10
Examples
import { MAX_REROLLS } from "@johnmorrisdotca/korokoro";
console.log(MAX_REROLLS);10What it prints (run when this page was built)