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 · Board element

NARABE_EMBED_OPTION_KEYSconstant

Real host option keys, checked by the embed builder.

Import it

import { NARABE_EMBED_OPTION_KEYS } from "@johnmorrisdotca/narabe/element";

Also exported from: @johnmorrisdotca/narabe/element/define

Definition

const NARABE_EMBED_OPTION_KEYS: string[] = Object.keys({ state: true, settings: true, moves: true, choices: true, clocked: true, draw: true, onChange: true } satisfies Record<keyof NarabeElementOptions, boolean>)

Examples

import { NARABE_EMBED_OPTION_KEYS } from "@johnmorrisdotca/narabe/element";
console.log(NARABE_EMBED_OPTION_KEYS);
[
  'state',    'settings',
  'moves',    'choices',
  'clocked',  'draw',
  'onChange'
]

What it prints (run when this page was built)

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