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

WordGameStatustype

How a round stands: still being played, found, or out of guesses.

Import it

import type { WordGameStatus } from "@johnmorrisdotca/kotoba";

Definition

type WordGameStatus = "playing" | "won" | "lost";

Examples

import type { WordGameStatus } from "@johnmorrisdotca/kotoba";

const value: WordGameStatus = "playing";
console.log(value);
playing

What it prints (run when this page was built)

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