FreeCellPile型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
A place on the table a move names: a column 1–8, a free cell a–d,
or a suit's foundation by its letter (S H D C, as a card id writes a suit).
インポート
import type { FreeCellPile } from "@johnmorrisdotca/toranpu/freecell";
定義
type FreeCellPile = "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "a" | "b" | "c" | "d" | "S" | "H" | "D" | "C";
例
import type { FreeCellPile } from "@johnmorrisdotca/toranpu/freecell";
const value: FreeCellPile = "a";
console.log(value);a出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。