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 · Games and state

HEARTS_SIZESconstant

How long each game lasts, in its own terms (see above).

Import it

import { HEARTS_SIZES } from "@johnmorrisdotca/toranpu";

Definition

const HEARTS_SIZES: { readonly short: 50; readonly full: 100; } = { short: 50, full: 100 } as const

Members

NameTypeDescription
short50
full100

Examples

import { HEARTS_SIZES } from "@johnmorrisdotca/toranpu";
console.log(HEARTS_SIZES);
{ short: 50, full: 100 }

What it prints (run when this page was built)

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