Skip to the content

Tobiishi飛び石

Jump pegs on nine native boards, generate seeded solvable challenges and build a peg-solitaire player for your page.

Tobiishi is the Japanese word 飛び石 for stepping stones. About the name

Contents

Reference · Peg-solitaire element

TOBIISHI_EMBED_OPTION_KEYSconstant

The native mounted options, checked by the shared builder.

Import it

import { TOBIISHI_EMBED_OPTION_KEYS } from "@johnmorrisdotca/tobiishi/element";

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

Definition

const TOBIISHI_EMBED_OPTION_KEYS: string[] = Object.keys({
    game: true,
    challenge: true,
    shape: true,
    seed: true,
    challengeJumps: true,
    language: true,
    material: true,
    theme: true,
    justBoard: true,
    settingsHost: true,
    onChange: true,
} satisfies Record<keyof MountOptions, boolean>)

Examples

import { TOBIISHI_EMBED_OPTION_KEYS } from "@johnmorrisdotca/tobiishi/element";
console.log(TOBIISHI_EMBED_OPTION_KEYS.includes("onChange"));
true

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/tobiishi 0.3.1.