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

starSizefunction

The side of the square array a star of this radius is embedded in.

Import it

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

Definition

function starSize(radius?: number): number

Parameters

NameTypeDescription
radius (optional)number

The Chinese Checkers star radius.

Returns

number

The side of the square array a star of this radius is embedded in.

Examples

import { STAR_RADIUS, starSize } from "@johnmorrisdotca/narabe";

console.log(starSize(STAR_RADIUS));
17

What it prints (run when this page was built)

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