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 · Pipes, rules and solving

sizeTermOffunction

How big a board is for scoring, 0 to 1: the pieces its answer uses, on a log scale from BIG_PIECES_SMALLEST to BIG_PIECES_LARGEST.

Import it

import { sizeTermOf } from "@johnmorrisdotca/suido";

Definition

function sizeTermOf(used: number): number

Parameters

NameTypeDescription
usednumber

The number of pieces used in the solved board.

Returns

number

How big a board is for scoring, 0 to 1: the pieces its answer uses, on a log scale from BIG_PIECES_SMALLEST to BIG_PIECES_LARGEST.

Examples

import { sizeTermOf } from "@johnmorrisdotca/suido";

console.log(sizeTermOf(100));
0.5

What it prints (run when this page was built)

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