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

CSV_COLUMNSconstant

The columns of the CSV export, in order.

Import it

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

Definition

const CSV_COLUMNS: readonly ["time", "notation", "label", "total", "dice", "faces", "seed", "held", "loaded", "set"] = ["time", "notation", "label", "total", "dice", "faces", "seed", "held", "loaded", "set"] as const

Examples

import { CSV_COLUMNS } from "@johnmorrisdotca/korokoro";
console.log(Object.keys(CSV_COLUMNS));
[
  '0', '1', '2', '3',
  '4', '5', '6', '7',
  '8', '9'
]

What it prints (run when this page was built)

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