Interface ActionPlay

interface ActionPlay {
    order: CardOrder;
    playerIndex: PlayerIndex;
    rank: -1 | 1 | 2 | 3 | 4 | 5 | 7;
    suitIndex: -1 | 0 | 1 | 2 | 3 | 4 | 5;
    type: "play";
}

Properties

order: CardOrder
playerIndex: PlayerIndex
rank: -1 | 1 | 2 | 3 | 4 | 5 | 7

-1 represents a card of an unknown rank. This will only be -1 in special variants where the identity of played cards is not revealed.

suitIndex: -1 | 0 | 1 | 2 | 3 | 4 | 5

-1 represents a card of an unknown suit. This will only be -1 in special variants where the identity of played cards is not revealed.

type: "play"