Skip to the content

Suido水道

Turn pipes to connect the pumps and drains, through fixed levels or seeded puzzles.

Suido means water supply in Japanese. About the name

Contents

Reference · Playable board

mountSuidofunction

Draw a board into host and play it. Returns the handle that drives it, or null for a code that is no board.

Import it

import { mountSuido } from "@johnmorrisdotca/suido/play";

Definition

function mountSuido(host: HTMLElement, options: SuidoMountOptions): SuidoMount | null

Parameters

NameTypeDescription
hostHTMLElement

The HTMLElement that owns the native interface.

optionsSuidoMountOptions

Native settings and callbacks for this mounted interface.

Returns

SuidoMount | null

The native mounted handle, or null for unsupported settings.

Examples

import { mountSuido } from "@johnmorrisdotca/suido/play";
const show = (host: HTMLElement, options: Parameters<typeof mountSuido>[1]) => mountSuido(host, options);
console.log(typeof show); // function
function

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/suido 1.7.0.