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

TURN_CHOICE_KINDSconstant

The piece-moving and stone-placement choice modes.

Import it

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

Definition

const TURN_CHOICE_KINDS: { readonly move: "move"; readonly place: "place"; } = {
    move: "move",
    place: "place",
} as const satisfies Record<TurnChoiceKind, TurnChoiceKind>

Members

NameTypeDescription
move"move"
place"place"

Examples

import { TURN_CHOICE_KINDS } from "@johnmorrisdotca/narabe";
console.log(TURN_CHOICE_KINDS);
{ move: 'move', place: 'place' }

What it prints (run when this page was built)

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