Reference · Marking, scores and game rules
ShiritoriRefusaltype
Why a word was refused: it starts on the wrong kana, holds no kana, or was said already. A word ending in ん is not
refused; it is played and it loses (loses).
Import it
import type { ShiritoriRefusal } from "@johnmorrisdotca/kotoba";
Definition
type ShiritoriRefusal = "not-kana" | "wrong-start" | "repeated";
Examples
import type { ShiritoriRefusal } from "@johnmorrisdotca/kotoba";
const why: ShiritoriRefusal = "repeated";
console.log(why);repeatedWhat it prints (run when this page was built)