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

boardSizesForfunction

The board sizes a variant plays on, smallest first — the order they are drawn in.

Import it

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

Definition

function boardSizesFor(variant: RuleVariant): readonly number[]

Parameters

NameTypeDescription
variantRuleVariant

The native rule variant identifier.

Returns

readonly number[]

The board sizes a variant plays on, smallest first — the order they are drawn in.

Examples

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

console.log(boardSizesFor("go"));
[ 9, 13, 19 ]

What it prints (run when this page was built)

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