Reference · Game engine and table
hitotsuStringsfunction
The table's words in a language: HITOTSU_STRINGS for "en", HITOTSU_STRINGS_JA for "ja".
Import it
import { hitotsuStrings } from "@johnmorrisdotca/hitotsu";
Definition
function hitotsuStrings(language: HitotsuLanguage): Required<HitotsuStrings>
Parameters
| Name | Type | Description |
|---|---|---|
language | HitotsuLanguage | English or Japanese for the displayed words. |
Returns
Required<HitotsuStrings>
The complete native string table for the requested language.
Examples
import { hitotsuStrings } from "@johnmorrisdotca/hitotsu";
console.log(hitotsuStrings("ja").yourTurn);あなたの番What it prints (run when this page was built)