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_MATH_DIVISORconstant

The largest bottom of a fraction any step may have: what it may be divided by, all told. It keeps every step exact in whole numbers.

Import it

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

Definition

const MAX_MATH_DIVISOR: 1000 = 1000

Examples

import { MAX_MATH_DIVISOR } from "@johnmorrisdotca/korokoro";
console.log(MAX_MATH_DIVISOR);
1000

What it prints (run when this page was built)

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