Returns the Skat card-point value (jack 2, queen 3, king 4, ten 10, ace 11, others 0). The card points of all 32 cards sum to 120.
Usage
sk_points(x, call = rlang::caller_env())See also
sk_count_points() to total the points of a set of cards.
Other card functions:
format.sk_card(),
sk_card(),
sk_full_deck(),
sk_rank_of(),
sk_suit_of()
Examples
sk_points(c("CA", "D10", "H7"))
#> [1] 11 10 0
sum(sk_points(sk_full_deck()))
#> [1] 120