Reference · Rules, games and records
randomDicefunction
Dice that are not seeded: from the device's own random numbers.
Import it
import { randomDice } from "@johnmorrisdotca/sugoroku";
Definition
function randomDice(): DiceSource
Returns
DiceSource
Dice that are not seeded: from the device's own random numbers.
Examples
import { randomDice } from "@johnmorrisdotca/sugoroku";
console.log(typeof randomDice());functionWhat it prints (run when this page was built)