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

PieceCelltype

One cell of a multi-cell piece, with the colour it carries.

Import it

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

Definition

type PieceCell = Point & {
    stone: Stone;
};

Members

NameTypeDescription
rownumber
colnumber
stoneStone

Examples

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

const value: PieceCell = {row:7,col:7,stone:"black"};
console.log(value);
{ row: 7, col: 7, stone: 'black' }

What it prints (run when this page was built)

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