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

ClimbMovetype

Cards played to beat the table (or lead), or a pass.

Import it

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

Also exported from: @johnmorrisdotca/toranpu/president

Definition

type ClimbMove = {
    play: CardId[];
} | {
    pass: true;
};

Examples

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

const value: ClimbMove = { play: ["3D"] };
console.log(value);
{ play: [ '3D' ] }

What it prints (run when this page was built)

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