Skip to the content

Toranpuトランプ

Use a deck, play eleven games with computers, solve a solitaire, or display cards in your own design.

Toranpu is Japanese for playing cards. About the name

Contents

Reference · FreeCell

CELL_PILESconstant

The free cells, as a move names them: as many as the game is played with, from the first.

Import it

import { CELL_PILES } from "@johnmorrisdotca/toranpu/freecell";

Definition

const CELL_PILES: readonly ["a", "b", "c", "d"] = ["a", "b", "c", "d"] as const satisfies readonly FreeCellPile[]

Examples

import { CELL_PILES } from "@johnmorrisdotca/toranpu/freecell";
console.log(CELL_PILES);
[ 'a', 'b', 'c', 'd' ]

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/toranpu 2.15.0.