gameSaysfunction
A game in a line: what it is about, for a list of games.
Import it
import { gameSays } from "@johnmorrisdotca/toranpu";
Definition
function gameSays(kind: CardGameKind, language?: Language): string
Parameters
| Name | Type | Description |
|---|---|---|
kind | CardGameKind | The named card game or sound kind. |
language (optional) | Language | English or Japanese for the displayed words. |
Returns
string
A game in a line: what it is about, for a list of games.
Examples
import { gameSays } from "@johnmorrisdotca/toranpu";
console.log(gameSays("hearts", "en"));Avoid hearts and the queen of spades. Pass three cards, follow suit, lowest score wins.What it prints (run when this page was built)