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; }
引数
| 名前 | 型 | 説明 |
|---|---|---|
place | number | 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 }出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。