本文へ移動

Meikyuu迷宮

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

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

目次

リファレンス · 迷路・矢印・混合の盤

easyFloorAt関数

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

What the easy third asks for beyond the least, rising through it so that it climbs: at place place (from 1) of a size, a maze has at least this many traps, forks and wasted cells, and from the end of the easy third the least. Level 1 asks only for the least; level 86 asks for 3 traps, 5 forks and 8 wasted cells. A place of a size with no easy third, such as the huge ones, passes it without trying.

インポート

import { easyFloorAt } from "@johnmorrisdotca/meikyuu";

定義

function easyFloorAt(place: number): { traps: number; decisions: number; waste: number; }

引数

名前型説明
placenumber

The native numbered level position.

戻り値

{ traps: number; decisions: number; waste: number; }

What the easy third asks for beyond the least, rising through it so that it climbs: at place place (from 1) of a size, a maze has at least this many traps, forks and wasted cells, and from the end of the easy third the least. Level 1 asks only for the least; level 86 asks for 3 traps, 5 forks and 8 wasted cells. A place of a size with no easy third, such as the huge ones, passes it without trying.

例

import { easyFloorAt } from "@johnmorrisdotca/meikyuu";

console.log(easyFloorAt(1));
{ traps: 2, decisions: 3, waste: 4 }

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

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

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