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 · SVG board

SuidoViewtype

The part of a board shown: how far in (1 is the whole board), and where its top left corner is, in the drawing's units.

Import it

import type { SuidoView } from "@johnmorrisdotca/suido/draw";

Definition

type SuidoView = {
    zoom: number;
    x: number;
    y: number;
};

Members

NameTypeDescription
zoomnumber
xnumber
ynumber

Examples

import type { SuidoView } from "@johnmorrisdotca/suido/draw";

const view = {zoom:1,x:0,y:0};
const value: SuidoView = view;
console.log(value);
{ zoom: 1, x: 0, y: 0 }

What it prints (run when this page was built)

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