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_ROLL_LABELconstant

The longest a roll's label may be, in characters.

Import it

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

Definition

const MAX_ROLL_LABEL: 40 = 40

Examples

import { MAX_ROLL_LABEL } from "@johnmorrisdotca/korokoro";
console.log(MAX_ROLL_LABEL);
40

What it prints (run when this page was built)

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