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

bigShapeByIdfunction

The shape with this id, or undefined for four masks that make none.

Import it

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

Definition

function bigShapeById(id: string): BigShape | undefined

Parameters

NameTypeDescription
idstring

The native big-shape or guide-piece identifier.

Returns

BigShape | undefined

The shape with that identifier, or undefined when it is not a known shape.

Examples

import { BIG_SHAPES, bigShapeById } from "@johnmorrisdotca/suido";

console.log(bigShapeById(BIG_SHAPES[0].id)?.openings);
1

What it prints (run when this page was built)

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