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

blocksInfunction

How many blocks a size of count levels has.

Import it

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

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

Definition

function blocksIn(count: number): number

Parameters

NameTypeDescription
countnumber

The total number of levels.

Returns

number

How many blocks a size of count levels has.

Examples

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

console.log(blocksIn(256));
16

What it prints (run when this page was built)

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