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

inBigMixfunction

Whether a shape belongs to a mix of the shapes (BigMix, not five).

Import it

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

Definition

function inBigMix(shape: Pick<BigShape, "pipes" | "openings">, mix: BigMix): boolean

Parameters

NameTypeDescription
shapePick<BigShape, "pipes" | "openings">

A big-piece shape or its pipe/opening counts.

mixBigMix

The supported big-piece family mix.

Returns

boolean

Whether a shape belongs to a mix of the shapes (BigMix, not five).

Examples

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

console.log(inBigMix(BIG_SHAPES[0],"simple"));
true

What it prints (run when this page was built)

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