Skip to the content

Narabe並べ

Play forty-eight abstract board games through immutable moves, legal choices and replayable records.

Narabe means arranging in Japanese, as in gomoku-narabe: five in a row. About the name

Contents

Reference · Rules and records

DRAW_LIMIT_SHAREconstant

The board fractions used by configured draw limits.

Import it

import { DRAW_LIMIT_SHARE } from "@johnmorrisdotca/narabe";

Definition

const DRAW_LIMIT_SHARE: Record<DrawLimit, number | null> = {
    none: null,
    half: 1 / 2,
    threeQuarters: 3 / 4,
}

Members

NameTypeDescription
nonenumber | null
halfnumber | null
threeQuartersnumber | null

Examples

import { DRAW_LIMIT_SHARE } from "@johnmorrisdotca/narabe";
console.log(DRAW_LIMIT_SHARE);
{ none: null, half: 0.5, threeQuarters: 0.75 }

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/narabe 1.3.0.