Skip to contents

Calculate the strength of a group of cards / a hand, see day 7 - 2023

Usage

hand_strength(x, joker = FALSE)

Arguments

x

Vector with cards (strings).

joker

Flag to indicate if jokers ('J') are scored differently.

Value

Hand score