MoveTextOptionstype
How a move is put into words.
Import it
import type { MoveTextOptions } from "@johnmorrisdotca/toranpu";
Definition
type MoveTextOptions = {
language?: Language;
form?: "offer" | "did" | "hidden";
players?: readonly string[];
};
Members
| Name | Type | Description |
|---|---|---|
language (optional) | Language | undefined | English unless said. |
form (optional) | "offer" | "did" | "hidden" | undefined |
|
players (optional) | readonly string[] | undefined | The players' names by seat, for a move that names one (Go Fish's ask). A seat without a name is "Seat 2". |
Examples
import type { MoveTextOptions } from "@johnmorrisdotca/toranpu";
const value: MoveTextOptions = { language: "ja", form: "offer" };
console.log(value.language);jaWhat it prints (run when this page was built)