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

DiceWarGoaltype

How a game is played to its end.

Import it

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

Definition

type DiceWarGoal = "points" | "rounds";

Examples

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

What it prints (run when this page was built)

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