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

OPENING_STAGESconstant

The stages of the opening protocol.

Import it

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

Definition

const OPENING_STAGES: { readonly placing: "placing"; readonly choosing: "choosing"; readonly extending: "extending"; readonly done: "done"; } = {
    placing: "placing",
    choosing: "choosing",
    extending: "extending",
    done: "done",
} as const satisfies Record<OpeningStage, OpeningStage>

Members

NameTypeDescription
placing"placing"
choosing"choosing"
extending"extending"
done"done"

Examples

import { OPENING_STAGES } from "@johnmorrisdotca/narabe";
console.log(OPENING_STAGES);
{
  placing: 'placing',
  choosing: 'choosing',
  extending: 'extending',
  done: 'done'
}

What it prints (run when this page was built)

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