Twist型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
THE TWISTS: what a board can ask of a player beyond turning every piece until the water reaches all of them. Each is a thing the board itself says (its code carries it), a level declares it on its row, and a page shows it as a chip.
drains: the water must reach every drain, not every piece; pieces it does not need are spares and may stay dry, facing any way.pumps: more than one pump, each feeding its own pipes.locked: some pieces cannot be turned. They are given facing the way the answer has them, and are the first things to build the rest from.walls: water cannot cross some of the edges between cells, so a pipe opening on one runs out of it as it does at the edge of the board.wrap: the edges of the board join, left to right and top to bottom.inlet-outlet: one pump at the top left and one drain at the bottom right, and the water must run between them in one path with no branch; the rest of the pieces are decoys and stay dry.big-pieces: some pieces are big, four cells that are one piece with up to eight openings, and a tap turns the whole of it a quarter in place.block-turns: a tap on certain squares of four pieces turns the four together, each moving round to the next place as it turns; those pieces cannot be turned on their own.
A plain board has none: its single pump feeds a network and every piece must be wet.
インポート
import type { Twist } from "@johnmorrisdotca/suido";
定義
type Twist = "drains" | "pumps" | "locked" | "walls" | "wrap" | "inlet-outlet" | "big-pieces" | "block-turns";
例
import type { Twist } from "@johnmorrisdotca/suido";
const value: Twist = "walls";
console.log(value);walls出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。