Skip to the content

Kotoba言葉

Load only the word lists you need, mark repeated letters correctly and play a daily or seeded word game.

Kotoba is the Japanese word for words. About the name

Contents

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

NameTypeDescription
enstring
frstring
destring
popstring

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)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/kotoba 1.2.0.