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_DRAW_OPTION_KEYSconstant

Native drawing option keys, checked by the embed builder.

Import it

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

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

Definition

const NARABE_DRAW_OPTION_KEYS: string[] = Object.keys({ width: true, title: true, lastMove: true, winningLine: true, forbidden: true, legal: true, selected: true } satisfies Record<keyof DrawBoardOptions, boolean>)

Examples

import { NARABE_DRAW_OPTION_KEYS } from "@johnmorrisdotca/narabe/element";
console.log(NARABE_DRAW_OPTION_KEYS);
[
  'width',
  'title',
  'lastMove',
  'winningLine',
  'forbidden',
  'legal',
  'selected'
]

What it prints (run when this page was built)

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