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

SIDE_STEPSconstant

The step across each side, as columns and rows.

Import it

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

Definition

const SIDE_STEPS: readonly [readonly [0, -1], readonly [1, 0], readonly [0, 1], readonly [-1, 0]] = [
    [0, -1],
    [1, 0],
    [0, 1],
    [-1, 0],
] as const

Examples

import { SIDE_STEPS } from "@johnmorrisdotca/suido";
console.log(SIDE_STEPS);
[ [ 0, -1 ], [ 1, 0 ], [ 0, 1 ], [ -1, 0 ] ]

What it prints (run when this page was built)

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