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

blendBigScorefunction

The score of a board of used pieces whose tangle (exactDifficultyOf, 1 to 100 among boards of its size) is tangle, before it is rounded.

Import it

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

Definition

function blendBigScore(used: number, tangle: number): number

Parameters

NameTypeDescription
usednumber

The number of pieces used in the solved board.

tanglenumber

The cross-size tangle score.

Returns

number

The score of a board of used pieces whose tangle (exactDifficultyOf, 1 to 100 among boards of its size) is tangle, before it is rounded.

Examples

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

console.log(blendBigScore(100,50));
50.25000000000001

What it prints (run when this page was built)

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