Skip to the content

Korokoroコロコロ

Roll mixed dice or type notation, compare exact probabilities, keep a history and replay seeded rolls.

Korokoro describes something small rolling in Japanese. About the name

Contents

Reference · Rolls and exact odds

MAX_FACESconstant

The most faces a custom die has, and the fewest is two.

Import it

import { MAX_FACES } from "@johnmorrisdotca/korokoro";

Definition

const MAX_FACES: 20 = 20

Examples

import { MAX_FACES } from "@johnmorrisdotca/korokoro";
console.log(MAX_FACES);
20

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/korokoro 1.16.0.