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 · Big Two

ClimbPlaytype

What is on the table: the last cards played to this trick, and whose they were.

Import it

import type { ClimbPlay } from "@johnmorrisdotca/toranpu/big-two";

Also exported from: @johnmorrisdotca/toranpu/president

Definition

type ClimbPlay = {
    seat: number;
    cards: CardId[];
};

Members

NameTypeDescription
seatnumber
cardsstring[]

Examples

import type { ClimbPlay } from "@johnmorrisdotca/toranpu/big-two";

const value: ClimbPlay = { seat: 0, cards: ["3D"] };
console.log(value.cards);
[ '3D' ]

What it prints (run when this page was built)

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