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 · SVG boards and materials

MATERIALSconstant

Built-in palette names in player-menu order.

Import it

import { MATERIALS } from "@johnmorrisdotca/tobiishi/draw";

Definition

const MATERIALS: readonly Material[] = ["stone", "wood", "glass"]

Examples

import { MATERIALS } from "@johnmorrisdotca/tobiishi/draw";

console.log(MATERIALS);
[ 'stone', 'wood', 'glass' ]

What it prints (run when this page was built)

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