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 · Sound controls

CARD_SOUND_KINDSconstant

Every kind of sound, in the order a game meets them.

Import it

import { CARD_SOUND_KINDS } from "@johnmorrisdotca/toranpu/card-sounds";

Definition

const CARD_SOUND_KINDS: readonly ["shuffle", "deal", "flip", "play", "gather", "fan"] = ["shuffle", "deal", "flip", "play", "gather", "fan"] as const

Examples

import { CARD_SOUND_KINDS } from "@johnmorrisdotca/toranpu/card-sounds";
console.log(CARD_SOUND_KINDS);
[ 'shuffle', 'deal', 'flip', 'play', 'gather', 'fan' ]

What it prints (run when this page was built)

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