May-30-2023, 07:31 PM
(This post was last modified: May-30-2023, 07:31 PM by deanhystad.)
As you noted in your post, cards do not have an intrinsic value. The value of a card is determined by the card game. I would have the card game assign a value to the cards that is used for comparison. You can default this value to the rank, but the card game can change the value.
What is your plan for aces? These can be the highest or lowest value card in some games, and which is decided by the game, not the card.
What is your plan for aces? These can be the highest or lowest value card in some games, and which is decided by the game, not the card.