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

suidoBandfunction

Which third of a size a level sits in: its first third easy, its middle medium, its last hard.

Import it

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

Also exported from: @johnmorrisdotca/suido/levels-info

Definition

function suidoBand(size: string, level: number): SuidoBand

Parameters

NameTypeDescription
sizestring

The native widthxheight size string, such as 5x5.

levelnumber

The one-based level number.

Returns

SuidoBand

Which third of a size a level sits in: its first third easy, its middle medium, its last hard.

Examples

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

console.log(suidoBand("5x5",1));
easy

What it prints (run when this page was built)

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