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

suidoLevelsOffunction

A size already loaded, or a refusal: nothing answers for a list it does not have.

Import it

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

Definition

function suidoLevelsOf(size: string): readonly LevelRow[]

Parameters

NameTypeDescription
sizestring

The native widthxheight size string, such as 5x5.

Returns

readonly LevelRow[]

A size already loaded, or a refusal: nothing answers for a list it does not have.

Examples

import { loadSuidoLevels, suidoLevelsOf } from "@johnmorrisdotca/suido/levels";

await loadSuidoLevels("5x5");
console.log(suidoLevelsOf("5x5").length);
256

What it prints (run when this page was built)

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