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 · Load fixed levels

declaredTwistsfunction

The twists a row declares, in the order the levels teach them. A word that is no twist is dropped; levels.test.ts holds each row's list to its board.

Import it

import { declaredTwists } from "@johnmorrisdotca/suido/levels";

Also exported from: @johnmorrisdotca/suido/levels-info

Definition

function declaredTwists(row: LevelRow): Twist[]

Parameters

NameTypeDescription
rowLevelRow

The board code, quarter-turn digits and declared twists of one shipped level.

Returns

Twist[]

The twists a row declares, in the order the levels teach them. A word that is no twist is dropped; levels.test.ts holds each row's list to its board.

Examples

import { SUIDO_5X5 } from "@johnmorrisdotca/suido/levels-5x5";
import { declaredTwists } from "@johnmorrisdotca/suido/levels";

const row = SUIDO_5X5[0];
console.log(declaredTwists(row));
[]

What it prints (run when this page was built)

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