Skip to the content

Meikyuu迷宮

Generate seeded mazes and arrow puzzles, follow numbered levels, and play on flat grids or three-dimensional surfaces.

Meikyuu is the Japanese word 迷宮 for labyrinth. About the name

Contents

Reference · Mazes, arrows and mixed boards

ratingOffunction

An effort as a rating from 1 to 100, on a scale where doubling the effort adds the same each time.

Import it

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

Definition

function ratingOf(effort: number): number

Parameters

NameTypeDescription
effortnumber

Native measured effort to convert to a rating.

Returns

number

An effort as a rating from 1 to 100, on a scale where doubling the effort adds the same each time.

Examples

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

console.log(ratingOf(100));
38

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/meikyuu 3.2.0.