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

levelAnswerfunction

A row's answer as a code, the board's own code with every piece facing as the answer has it: what checkSuidoAnswer is given. Null for a row that is not a board and its turns.

Import it

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

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

Definition

function levelAnswer(row: LevelRow): string | null

Parameters

NameTypeDescription
rowLevelRow

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

Returns

string | null

A row's answer as a code, the board's own code with every piece facing as the answer has it: what checkSuidoAnswer is given. null for a row that is not a board and its turns.

Examples

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

const row = SUIDO_5X5[0];
console.log(levelAnswer(row));
5x5:maaaI5CacE7eafd53IB53aaIB

What it prints (run when this page was built)

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