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

DieSizetype

How big the die is drawn: 48, 96 or 150 pixels across. The same three names as everywhere in the family.

Import it

import type { DieSize } from "@johnmorrisdotca/korokoro";

Definition

type DieSize = "small" | "medium" | "large";

Examples

import type { DieSize } from "@johnmorrisdotca/korokoro";
const value: DieSize = "small";
console.log(value);
small

What it prints (run when this page was built)

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