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 · Boards, rules and challenges

Shapetype

Built-in board outlines supported by the player and challenge packs.

Import it

import type { Shape } from "@johnmorrisdotca/tobiishi";

Definition

type Shape = "english" | "european" | "triangle" | "diamond" | "heart" | "star" | "hexagon" | "wide" | "tall";

Examples

import type { Shape } from "@johnmorrisdotca/tobiishi";

const value: Shape = "triangle";
console.log(value);
triangle

What it prints (run when this page was built)

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