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

ShiritoriWordtype

One word of the shiritori list.

Import it

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

Definition

type ShiritoriWord = {
    readonly reading: string;
    readonly word: string;
    readonly meaning: string;
};

Members

NameTypeDescription
readingstring

How it is read: what a chain is judged on.

wordstring

How it is written.

meaningstring

Its first plain English gloss.

Examples

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

const one: ShiritoriWord = { reading: "さくら", word: "桜", meaning: "cherry tree" };
console.log(one.word);
桜

What it prints (run when this page was built)

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