Skip to the content

Kumimoji組み文字

Build crosswords from seeded English or Japanese tile bags, alone or at a shared table.

Kumimoji means assembled characters in Japanese. About the name

Contents

Reference · Rules, tiles and records

seededRandomfunction

A stream of numbers in [0, 1) that the seed fixes: mulberry32.

Import it

import { seededRandom } from "@johnmorrisdotca/kumimoji";

Definition

function seededRandom(seed: number): Random

Parameters

NameTypeDescription
seednumber

The numeric seed for deterministic deals or random draws.

Returns

Random

A stream of numbers in [0, 1) that the seed fixes: mulberry32.

Examples

import { seededRandom } from "@johnmorrisdotca/kumimoji";

console.log(seededRandom(42)());
0.6011037519201636

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/kumimoji 1.6.0.