CoderanchCorral / Blackjack

Mozilla Public License 2.0
17 stars 2 forks source link

Model a hand of cards #21

Closed nibsi closed 3 years ago

nibsi commented 3 years ago

Write classes to model a hand of playing cards.

Add a method that determines the greatest total point value of a hand of cards that is less than or equal the maximum allowed point value. If no such value can be determined, it returns the smallest total point value of the hand of cards.