A trump beats any non-trump; among cards of the same effective suit the stronger one wins; a card that neither follows the led suit nor trumps cannot win at all.
Usage
sk_trick_winner(cards, game_type, call = rlang::caller_env())Arguments
- cards
A length-3
sk_cardobject or character vector: the cards played in play order (first element led).- game_type
A single game-type string, one of
sk_game_types().- call
The calling environment, used for error reporting.
See also
sk_strength() for the ordering this uses.
Other play functions:
sk_count_points(),
sk_legal_moves()