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 · Card designs

CARD_DESIGNSconstant

The designs drawn here, by name. The English pattern is ENGLISH_PATTERN from @johnmorrisdotca/toranpu/card-faces/english, or loadCardDesign("english").

Import it

import { CARD_DESIGNS } from "@johnmorrisdotca/toranpu/card-faces";

Definition

const CARD_DESIGNS: readonly ["plain", "four-colour", "english", "realistic"] = ["plain", "four-colour", "english", "realistic"] as const

Examples

import { CARD_DESIGNS } from "@johnmorrisdotca/toranpu/card-faces";
console.log(CARD_DESIGNS);
[ 'plain', 'four-colour', 'english', 'realistic' ]

What it prints (run when this page was built)

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