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

suidoMarksfunction

A level's measured difficulty, 1 (easiest) to 5, or null for a level the marks do not have: read without loading the size's boards.

Import it

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

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

Definition

function suidoMarks(size: string, level: number): number | null

Parameters

NameTypeDescription
sizestring

The native widthxheight size string, such as 5x5.

levelnumber

The one-based level number.

Returns

number | null

A level's measured difficulty, 1 (easiest) to 5, or null for a level the marks do not have: read without loading the size's boards.

Examples

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

console.log(suidoMarks("5x5",1));
1

What it prints (run when this page was built)

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