Returns a character vector of cards, collapsed by default.
Usage
print_hand(hand, collapse = TRUE)
Arguments
- hand
a hand of cards.
- collapse
if TRUE
, collapse the character vector.
Examples
(hand <- deal_hand(new_deck()))
#> [1] 33 16 21 30 0
print_hand(hand)
#> [1] "TD 6C 7D 9H 2C"