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

SUIDO_BIG_FAMILIES_GUIDEconstant

ONE BIG PIECE OF EACH FAMILY. A family is the big pieces whose pipes have the same number of openings, written largest first: 2+2 is two pipes of two openings each, and 1+1+1 is three pipes of one opening each. There are 32, and each entry shows the first shape of its family (BIG_SHAPES), with how many shapes the family has in all.

Import it

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

Definition

const SUIDO_BIG_FAMILIES_GUIDE: readonly GuidePiece[] = BIG_FAMILIES.map((family) => {
    const shape = BIG_SHAPES.find((each) => each.family === family.family)!;
    const pipes = family.pipes === 1 ? "one pipe" : family.pipes === 2 ? "two separate pipes" : "three separate pipes";
    return {
        id: `family-${family.family.replace(/\+/g, "-")}`,
        group: "big" as const,
        name: family.family,
        text: `${pipes} with ${family.openings === 1 ? "one opening" : `${family.openings} openings`} in all (${family.family.split("+").join(", ")}): ${family.shapes} ${family.shapes === 1 ? "shape" : "shapes"}.`,
        layout: plate(shape.id),
        water: false,
        facings: bigFacings(shape.id),
    };
})

Examples

import { SUIDO_BIG_FAMILIES_GUIDE } from "@johnmorrisdotca/suido";
console.log(SUIDO_BIG_FAMILIES_GUIDE.length);
32

What it prints (run when this page was built)

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