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

Clothtype

A cloth's name.

Import it

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

Definition

type Cloth = keyof typeof KOROKORO_CLOTHS;

Examples

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

What it prints (run when this page was built)

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