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

WRAP_MODESconstant

The supported board edge-wrapping modes.

Import it

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

Definition

const WRAP_MODES: { readonly none: "none"; readonly columns: "columns"; readonly both: "both"; } = {
    none: "none",
    columns: "columns",
    both: "both",
} as const satisfies Record<WrapMode, WrapMode>

Members

NameTypeDescription
none"none"
columns"columns"
both"both"

Examples

import { WRAP_MODES } from "@johnmorrisdotca/narabe";
console.log(WRAP_MODES);
{ none: 'none', columns: 'columns', both: 'both' }

What it prints (run when this page was built)

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