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

nextSuidoBigLevelfunction

The level to open on: the first open one not yet solved.

Import it

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

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

Definition

function nextSuidoBigLevel(solved: ReadonlySet<number>): number

Parameters

NameTypeDescription
solvedReadonlySet<number>

The set of solved one-based level numbers.

Returns

number

The level to open on: the first open one not yet solved.

Examples

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

console.log(nextSuidoBigLevel(new Set([1,2])));
3

What it prints (run when this page was built)

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