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

HeadStarttype

A start given to one colour — the weaker player's — before the game is even.

freeTurns: turns this colour takes at the start with nothing played between them, 0 to 3. Each is recorded as the other colour's pass, so a replay reaches the same position from the move list alone. traditional: how much of the game's own traditional head start this colour is given — handicap stones, corners, or the other side's men taken off — as its spec's headStart names; 0 for none. See rules/headStart.ts.

The opposite colour from a handicap's, by nature: a handicap makes the stronger side's game harder, a head start makes the weaker side's easier.

Import it

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

Definition

type HeadStart = {
    stone: Stone | null;
    freeTurns: number;
    traditional: number;
};

Members

NameTypeDescription
stoneStone | null
freeTurnsnumber
traditionalnumber

Examples

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

const value: HeadStart = {stone:"black",freeTurns:1,traditional:0};
console.log(value);
{ stone: 'black', freeTurns: 1, traditional: 0 }

What it prints (run when this page was built)

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