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

stonelessWordfunction

How a written record says a move with no point, or null for a move that has one. The words a move list and a copied notation print, so the two agree.

Import it

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

Definition

function stonelessWord(kind: string | undefined): string | null

Parameters

NameTypeDescription
kindstring | undefined

The recorded move kind.

Returns

string | null

How a written record says a move with no point, or null for a move that has one. The words a move list and a copied notation print, so the two agree.

Examples

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

console.log(stonelessWord("pass"));
pass

What it prints (run when this page was built)

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