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

DRAW_LIMITSconstant

The shares of the board a game may be called a draw at.

A fraction rather than a number of moves, so one setting means the same thing on every board: half of a 9x9 is forty moves and half of a 19x19 is a hundred and eighty, and neither needs anybody to work it out. none is the default and is how every game here behaved before this existed.

Import it

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

Definition

const DRAW_LIMITS: { readonly none: "none"; readonly half: "half"; readonly threeQuarters: "threeQuarters"; } = {
    none: "none",
    half: "half",
    threeQuarters: "threeQuarters",
} as const satisfies Record<DrawLimit, DrawLimit>

Members

NameTypeDescription
none"none"
half"half"
threeQuarters"threeQuarters"

Examples

import { DRAW_LIMITS } from "@johnmorrisdotca/narabe";
console.log(DRAW_LIMITS);
{ none: 'none', half: 'half', threeQuarters: 'threeQuarters' }

What it prints (run when this page was built)

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