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 · Board element

defineBoardfunction

Register a board under its standard tag or a host's own tag, preserving an existing definition.

Import it

import { defineBoard } from "@johnmorrisdotca/suido/element";

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

Definition

function defineBoard(tag?: string): void

Parameters

NameTypeDescription
tag (optional)string

The custom tag name; omitted to use the package default.

Examples

import { defineBoard } from "@johnmorrisdotca/suido/element";
defineBoard();
console.log(typeof defineBoard); // function
function

What it prints (run when this page was built)

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