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 · Recorded sounds

CardSoundFiletype

The name of one recording: its kind of sound and a number, such as deal-2.

Import it

import type { CardSoundFile } from "@johnmorrisdotca/toranpu/sounds";

Definition

type CardSoundFile = "deal-1" | "deal-2" | "deal-3" | "deal-4" | "fan-1" | "flip-1" | "flip-2" | "gather-1" | "gather-2" | "play-1" | "play-2" | "play-3" | "shuffle-1";

Examples

import type { CardSoundFile } from "@johnmorrisdotca/toranpu/sounds";
const file: CardSoundFile = "deal-1";
console.log(file);
deal-1

What it prints (run when this page was built)

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