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

guidePieceByIdfunction

The entry with this id, or undefined.

Import it

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

Definition

function guidePieceById(id: string): GuidePiece | undefined

Parameters

NameTypeDescription
idstring

The native big-shape or guide-piece identifier.

Returns

GuidePiece | undefined

The guide piece with that identifier, or undefined when none exists.

Examples

import { SUIDO_PIECE_GUIDE, guidePieceById } from "@johnmorrisdotca/suido";

console.log(guidePieceById(SUIDO_PIECE_GUIDE[0].id)?.name);
Ground

What it prints (run when this page was built)

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