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

PIECE_QUEUESconstant

The domino and tetromino queue identifiers.

Import it

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

Definition

const PIECE_QUEUES: { readonly domino: "domino"; readonly tetro: "tetro"; } = {
    domino: "domino",
    tetro: "tetro",
} as const satisfies Record<PieceQueue, PieceQueue>

Members

NameTypeDescription
domino"domino"
tetro"tetro"

Examples

import { PIECE_QUEUES } from "@johnmorrisdotca/narabe";
console.log(PIECE_QUEUES);
{ domino: 'domino', tetro: 'tetro' }

What it prints (run when this page was built)

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