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

BigOnBoardtype

One big piece on a board: its top left cell, which of the 699 shapes it is, and how many quarters clockwise from the shape's own facing it is turned.

Import it

import type { BigOnBoard } from "@johnmorrisdotca/suido";

Definition

type BigOnBoard = {
    anchor: number;
    shape: BigShape;
    quarters: number;
};

Members

NameTypeDescription
anchornumber
shapeBigShape
quartersnumber

Examples

import type { BigOnBoard } from "@johnmorrisdotca/suido";
import { BIG_SHAPES } from "@johnmorrisdotca/suido";

const value: BigOnBoard = {anchor:0,shape:BIG_SHAPES[0],quarters:0};
console.log(value);
{
  anchor: 0,
  shape: {
    id: '2c96',
    masks: [ 2, 12, 9, 6 ],
    pipes: 1,
    openings: 1,
    family: '1',
    named: null
  },
  quarters: 0
}

What it prints (run when this page was built)

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