本文へ移動

Suido水道

管を回してポンプと排水口をつなぎます。収録された問題やシード付きの問題で遊べます。

「水道」は、水を届ける設備を表す言葉です。 名前について(英語)

目次

リファレンス · 収録問題の読み込み

SUIDO_SIZES定数

リファレンスの説明と例は英語です。見出しと目次は日本語です。

The square sizes, 5×5 to 14×14, then three pipe shapes (long boards, 5×7, 6×10 and 8×14), then the huge boards: 20×20, 28×28 and the long 20×50, which have sixty-four levels each, not two hundred and fifty-six.

インポート

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

ほかのエクスポート元: @johnmorrisdotca/suido/levels-info

定義

const SUIDO_SIZES: readonly `${number}x${number}`[] = [
    "5x5",
    "6x6",
    "7x7",
    "8x8",
    "9x9",
    "10x10",
    "11x11",
    "12x12",
    "13x13",
    "14x14",
    "5x7",
    "6x10",
    "8x14",
    "20x20",
    "28x28",
    "20x50",
]

例

import { SUIDO_SIZES } from "@johnmorrisdotca/suido/levels";
console.log(SUIDO_SIZES);
[
  '5x5',   '6x6',   '7x7',
  '8x8',   '9x9',   '10x10',
  '11x11', '12x12', '13x13',
  '14x14', '5x7',   '6x10',
  '8x14',  '20x20', '28x28',
  '20x50'
]

出力(このページを作ったときに実行した結果)

ソースを見るGitHub で編集@johnmorrisdotca/suido 1.7.0 のソースから作成しました。

この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。