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

MoveKindtype

place: an ordinary stone. skip: a deliberately wasted move, dropped on the emptiest corner. move: a piece stepping from from to the move's point, in the games where a fixed handful of pieces move once they are all down. piece: a multi-cell piece from the queue, laid as cells. pass: a turn taken without a stone that the rules offered — nothing fit, or Go, where passing is always a choice. A missed deadline is a pass too wherever a pass is on offer, since there it IS one. forfeit: a turn taken away by the clock where the rules offer no pass. Only a claimed timeout writes one, and a replay applies it only to a record that ran a clock. Kept apart from pass because the two replay differently: a pass the rules refuse stops a replay, and a forfeit read as a pass would stop every game with a timeout in it at the turn that was lost. Neither has a point; their row and column are -1.

Import it

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

Definition

type MoveKind = "place" | "skip" | "move" | "piece" | "pass" | "forfeit";

Examples

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

const value: MoveKind = "place";
console.log(value);
place

What it prints (run when this page was built)

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