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

CrownMidCapturetype

What becomes of a man that reaches the far row in the middle of a capture.

stops: it is crowned, and the move ends there, whatever else it could take. continues: it is crowned at once, and goes on capturing as a king. passes: it is not crowned while it has more to take. It carries on as a man, and is crowned only if the move ends on the far row.

Import it

import type { CrownMidCapture } from "@johnmorrisdotca/narabe";

Definition

type CrownMidCapture = "stops" | "continues" | "passes";

Examples

import type { CrownMidCapture } from "@johnmorrisdotca/narabe";

const value: CrownMidCapture = "continues";
console.log(value);
continues

What it prints (run when this page was built)

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