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);playingWhat it prints (run when this page was built)