Reference · Eight puzzle-rule namespaces
KARAKURI_STRINGSconstant
Native player, keyboard, game and story words in English and Japanese.
Import it
import { KARAKURI_STRINGS } from "@johnmorrisdotca/karakuri";
Definition
const KARAKURI_STRINGS: Record<KarakuriLanguage, Record<string, string>> = {
en: { ...BASE_STRINGS.en, ...STORY_STRINGS.en },
ja: { ...BASE_STRINGS.ja, ...STORY_STRINGS.ja },
}
Members
| Name | Type | Description |
|---|---|---|
en | Record<string, string> | |
ja | Record<string, string> |
Examples
import { KARAKURI_STRINGS } from "@johnmorrisdotca/karakuri";
console.log(KARAKURI_STRINGS.en.keyboardPosition);Cursor {x}, {y}.What it prints (run when this page was built)