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

WIN_LENGTHSconstant

Line lengths a player may pick in the variants that leave it open.

Import it

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

Definition

const WIN_LENGTHS: readonly [4, 5, 6] = [4, 5, 6] as const

Examples

import { WIN_LENGTHS } from "@johnmorrisdotca/narabe";
console.log(WIN_LENGTHS);
[ 4, 5, 6 ]

What it prints (run when this page was built)

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