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

crapsPassfunction

The chance that a craps shooter passes: a natural on the come-out, or a point that comes again before a seven. 244 in 495, a little under a half.

Import it

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

Definition

function crapsPass(): Fraction

Returns

Fraction

The chance that a craps shooter passes: a natural on the come-out, or a point that comes again before a seven. 244 in 495, a little under a half.

Examples

import { crapsPass } from "@johnmorrisdotca/korokoro";
console.log(crapsPass().map(String));
[ '244', '495' ]

What it prints (run when this page was built)

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