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

FORBIDDEN_PATTERNSconstant

The named forbidden shapes checked by line games.

Import it

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

Definition

const FORBIDDEN_PATTERNS: { readonly doubleThree: "doubleThree"; readonly doubleFour: "doubleFour"; readonly overline: "overline"; } = {
    doubleThree: "doubleThree",
    doubleFour: "doubleFour",
    overline: "overline",
} as const satisfies Record<ForbiddenPattern, ForbiddenPattern>

Members

NameTypeDescription
doubleThree"doubleThree"
doubleFour"doubleFour"
overline"overline"

Examples

import { FORBIDDEN_PATTERNS } from "@johnmorrisdotca/narabe";
console.log(FORBIDDEN_PATTERNS);
{
  doubleThree: 'doubleThree',
  doubleFour: 'doubleFour',
  overline: 'overline'
}

What it prints (run when this page was built)

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