Reference · Marking, scores and game rules
ALPHABETSconstant
The letters each alphabet game's words are written in, as a character class.
Import it
import { ALPHABETS } from "@johnmorrisdotca/kotoba";
Definition
const ALPHABETS: Readonly<Record<GomojiLanguage, string>> = { en: "A-Z", fr: "A-Z", de: "A-ZÄÖÜ", pop: "A-Z" }
Members
| Name | Type | Description |
|---|---|---|
en | string | |
fr | string | |
de | string | |
pop | string |
Examples
import { ALPHABETS } from "@johnmorrisdotca/kotoba";
console.log(ALPHABETS);{ en: 'A-Z', fr: 'A-Z', de: 'A-ZÄÖÜ', pop: 'A-Z' }What it prints (run when this page was built)