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

BOARD_GRIDSconstant

Where a game's stones sit when it is drawn its own way: on the crossings, or in the squares.

Import it

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

Definition

const BOARD_GRIDS: { readonly lines: "lines"; readonly cells: "cells"; } = {
    lines: "lines",
    cells: "cells",
} as const satisfies Record<BoardGrid, BoardGrid>

Members

NameTypeDescription
lines"lines"
cells"cells"

Examples

import { BOARD_GRIDS } from "@johnmorrisdotca/narabe";
console.log(BOARD_GRIDS);
{ lines: 'lines', cells: 'cells' }

What it prints (run when this page was built)

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