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 · Klondike

COLUMN_PILESconstant

The columns, as a move names them.

Import it

import { COLUMN_PILES } from "@johnmorrisdotca/toranpu/klondike";

Definition

const COLUMN_PILES: readonly ["1", "2", "3", "4", "5", "6", "7"] = ["1", "2", "3", "4", "5", "6", "7"] as const satisfies readonly KlondikePile[]

Examples

import { COLUMN_PILES } from "@johnmorrisdotca/toranpu/klondike";
console.log(COLUMN_PILES);
[
  '1', '2', '3',
  '4', '5', '6',
  '7'
]

What it prints (run when this page was built)

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