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

isSuidoLevelfunction

Whether a number is a level this size has.

Import it

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

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

Definition

function isSuidoLevel(size: string, level: number): boolean

Parameters

NameTypeDescription
sizestring

The native widthxheight size string, such as 5x5.

levelnumber

The one-based level number.

Returns

boolean

Whether a number is a level this size has.

Examples

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

console.log(isSuidoLevel("5x5",1));
true

What it prints (run when this page was built)

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