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

HANDICAP_RULESconstant

The handicap toggles, in the order the settings list them.

Import it

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

Definition

const HANDICAP_RULES: readonly ["doubleThree", "doubleFour", "overline", "exactLine", "openLine", "longerLine", "singleStone", "noCaptures"] = [
    "doubleThree",
    "doubleFour",
    "overline",
    "exactLine",
    "openLine",
    "longerLine",
    "singleStone",
    "noCaptures",
] as const satisfies readonly HandicapRule[]

Examples

import { HANDICAP_RULES } from "@johnmorrisdotca/narabe";
console.log(HANDICAP_RULES);
[
  'doubleThree',
  'doubleFour',
  'overline',
  'exactLine',
  'openLine',
  'longerLine',
  'singleStone',
  'noCaptures'
]

What it prints (run when this page was built)

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