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

STRINGSconstant

The built-in words, in English and Japanese.

Import it

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

Definition

const STRINGS: { en: RollerStrings; ja: RollerStrings; }

Members

NameTypeDescription
enRollerStrings
jaRollerStrings

Examples

import { STRINGS } from "@johnmorrisdotca/korokoro";
console.log(Object.keys(STRINGS.en).slice(0, 5));
[ 'dice', 'die', 'modifier', 'keep', 'keepAll' ]

What it prints (run when this page was built)

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