FreeCellPiletype
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 it
import type { FreeCellPile } from "@johnmorrisdotca/toranpu/freecell";
Definition
type FreeCellPile = "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "a" | "b" | "c" | "d" | "S" | "H" | "D" | "C";
Examples
import type { FreeCellPile } from "@johnmorrisdotca/toranpu/freecell";
const value: FreeCellPile = "a";
console.log(value);aWhat it prints (run when this page was built)