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

OPENING_RULE_LISTconstant

All supported opening identifiers in display order.

Import it

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

Definition

const OPENING_RULE_LIST: readonly ["free", "pro", "longPro", "swap", "swap2", "rif", "sakata", "tarannikov"] = [
    OPENING_RULES.free,
    OPENING_RULES.pro,
    OPENING_RULES.longPro,
    OPENING_RULES.swap,
    OPENING_RULES.swap2,
    OPENING_RULES.rif,
    OPENING_RULES.sakata,
    OPENING_RULES.tarannikov,
] as const satisfies readonly OpeningRule[]

Examples

import { OPENING_RULE_LIST } from "@johnmorrisdotca/narabe";
console.log(OPENING_RULE_LIST);
[
  'free',    'pro',
  'longPro', 'swap',
  'swap2',   'rif',
  'sakata',  'tarannikov'
]

What it prints (run when this page was built)

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