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

NO_HANDICAPconstant

The default terms with no colour-bound rule restrictions.

Import it

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

Definition

const NO_HANDICAP: Handicap = {
    stone: null,
    doubleThree: false,
    doubleFour: false,
    overline: false,
    exactLine: false,
    openLine: false,
    longerLine: false,
    singleStone: false,
    noCaptures: false,
    secondStoneExclusion: 0,
}

Members

NameTypeDescription
stoneStone | null
doubleThreeboolean
doubleFourboolean
overlineboolean
exactLineboolean
openLineboolean
longerLineboolean
singleStoneboolean
noCapturesboolean
secondStoneExclusionnumber

Examples

import { NO_HANDICAP } from "@johnmorrisdotca/narabe";
console.log(NO_HANDICAP);
{
  stone: null,
  doubleThree: false,
  doubleFour: false,
  overline: false,
  exactLine: false,
  openLine: false,
  longerLine: false,
  singleStone: false,
  noCaptures: false,
  secondStoneExclusion: 0
}

What it prints (run when this page was built)

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