Content
For example, if the hand has two Kings it’s worth 20 points, if it has a Queen and a Four, it’s worth 14, etc. The tricky part will be handling Aces, which can be valued at 1 or 11 depending on the situation. We will calculate the value of a hand with aces in a sort of backwards way – we’ll first calculate the hand with Aces valued at 11. If this puts them over 21, we’ll subtract 10 for each ace they have, up to four times depending on how many aces they have.
Детальніше
Останні коментарі