本文へ移動

Meikyuu迷宮

シード付きの迷路と矢印パズルを作り、番号付きの問題を進め、平面や立体表面で遊べます。

「迷宮」は迷路のように入り組んだ場所を表す言葉です。 名前について(英語)

目次

リファレンス · 遊べる盤

MEIKYUU_SOUND_KINDS定数

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

THE SOUNDS, made in the browser: short tones from the Web Audio API, one for each thing that happens (a step, drawing back, a key, an arrow bumping, an arrow flying off, an unlock, a solve, a loss). There are no recordings, so there is nothing to fetch and nothing to credit. Nothing is made until the first sound is asked for, a browser with no audio, or one that has not been touched yet, is silent without an error, and a sound that comes too soon after the last of its kind is dropped.

インポート

import { MEIKYUU_SOUND_KINDS } from "@johnmorrisdotca/meikyuu/play";

定義

const MEIKYUU_SOUND_KINDS: readonly ["step", "back", "key", "bump", "fly", "unlock", "solve", "lose", "tap", "stone"] = ["step", "back", "key", "bump", "fly", "unlock", "solve", "lose", "tap", "stone"] as const

例

import { MEIKYUU_SOUND_KINDS } from "@johnmorrisdotca/meikyuu/play";
console.log(MEIKYUU_SOUND_KINDS);
[
  'step',  'back',
  'key',   'bump',
  'fly',   'unlock',
  'solve', 'lose',
  'tap',   'stone'
]

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

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

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