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

Register the game

import { … } from "@johnmorrisdotca/kotoba/element/define";

474.8 kB minified and gzipped, with everything it imports (measured with esbuild)

Exports

NameKindWhat it is
defineGamefunctionDefines the default game or a subclass under a custom tag.
KOTOBA_EMBED_OPTION_KEYSconstantReal mounted options, checked alongside builder coverage.
KotobaElementOptionstypeHost data, appearance overrides, loading and callbacks; attributes override round choices.
KotobaGameclassA word game with scoped keyboard handling, reflected choices and UTC daily play.

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