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

Native peg-solitaire player

import { … } from "@johnmorrisdotca/tobiishi/play";

7.5 kB minified and gzipped, with everything it imports (measured with esbuild)

Exports

NameKindWhat it is
LanguagetypeSupported player interface languages.
mountfunctionMount one independent player.
MountOptionstypeInitial puzzle, display choices, optional settings host, and persistence callback.
PlayertypeControls for reading, replacing, updating presentation or unmounting one player instance.
STRINGSconstantLocalized English and Japanese labels used by the player.

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