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

PLACEMENTSconstant

The free, dropped and supported-edge placement modes.

Import it

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

Definition

const PLACEMENTS: { readonly free: "free"; readonly drop: "drop"; readonly edge: "edge"; } = {
    free: "free",
    drop: "drop",
    edge: "edge",
} as const satisfies Record<Placement, Placement>

Members

NameTypeDescription
free"free"
drop"drop"
edge"edge"

Examples

import { PLACEMENTS } from "@johnmorrisdotca/narabe";
console.log(PLACEMENTS);
{ free: 'free', drop: 'drop', edge: 'edge' }

What it prints (run when this page was built)

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