Reference · Marking, scores and game rules
wordGameKeysfunction
The keys a round accepts, by the character each types: the letters of the language's keyboard, and for kana the letters of romaji and the long-vowel bar.
Import it
import { wordGameKeys } from "@johnmorrisdotca/kotoba";
Definition
function wordGameKeys(language: WordGameLanguage): string
Parameters
| Name | Type | Description |
|---|---|---|
language | WordGameLanguage | The native game language. |
Returns
string
The keys a round accepts, by the character each types: the letters of the language's keyboard, and for kana the letters of romaji and the long-vowel bar.
Examples
import { wordGameKeys } from "@johnmorrisdotca/kotoba";
console.log(wordGameKeys("en"));qwertyuiopasdfghjklzxcvbnmWhat it prints (run when this page was built)