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 · Load fixed levels

suidoBigLevelOffunction

The level a board is in the big-pieces set (1 to 64), once it is loaded, or null for a board no level has.

Import it

import { suidoBigLevelOf } from "@johnmorrisdotca/suido/levels";

Definition

function suidoBigLevelOf(board: string): number | null

Parameters

NameTypeDescription
boardstring

The original native board code.

Returns

number | null

The level a board is in the big-pieces set (1 to 64), once it is loaded, or null for a board no level has.

Examples

import { loadSuidoBigLevels, suidoBigLevelOf } from "@johnmorrisdotca/suido/levels";
import { SUIDO_BIG } from "@johnmorrisdotca/suido/levels-big";

await loadSuidoBigLevels();
console.log(suidoBigLevelOf(SUIDO_BIG[0][0]));
1

What it prints (run when this page was built)

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