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

LINE_RULESconstant

The at-least, exact and open-exact winning line modes.

Import it

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

Definition

const LINE_RULES: { readonly atLeast: "atLeast"; readonly exact: "exact"; readonly exactOpen: "exactOpen"; } = {
    atLeast: "atLeast",
    exact: "exact",
    exactOpen: "exactOpen",
} as const satisfies Record<LineRule, LineRule>

Members

NameTypeDescription
atLeast"atLeast"
exact"exact"
exactOpen"exactOpen"

Examples

import { LINE_RULES } from "@johnmorrisdotca/narabe";
console.log(LINE_RULES);
{ atLeast: 'atLeast', exact: 'exact', exactOpen: 'exactOpen' }

What it prints (run when this page was built)

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