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

KlondikeRulestype

How the game was set up: cards turned from the stock at a time, and how many times through the stock (Infinity for no limit).

Import it

import type { KlondikeRules } from "@johnmorrisdotca/toranpu/klondike";

Definition

type KlondikeRules = {
    draw: 1 | 3;
    passes: number;
};

Members

NameTypeDescription
draw1 | 3
passesnumber

Examples

import type { KlondikeRules } from "@johnmorrisdotca/toranpu/klondike";

const value: KlondikeRules = { draw: 3, passes: 3 };
console.log(value.draw);
3

What it prints (run when this page was built)

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