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 · SVG grids

meikyuuSayfunction

A line in a language, with its {name} values filled in, and its One form when n is 1.

Import it

import { meikyuuSay } from "@johnmorrisdotca/meikyuu/draw";

Definition

function meikyuuSay(language: MeikyuuLanguage, key: string, values?: Record<string, string | number>): string

Parameters

NameTypeDescription
languageMeikyuuLanguage

The native English or Japanese display language.

keystring

The localized native label identifier.

values (optional)Record<string, string | number>

Replacement text or numbers for brace-delimited placeholders.

Returns

string

A line in a language, with its {name} values filled in, and its One form when n is 1.

Examples

import { meikyuuSay } from "@johnmorrisdotca/meikyuu/draw";

console.log(meikyuuSay("en","undo"));
Undo

What it prints (run when this page was built)

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