public class HandScore
extends java.lang.Object
Constructor and Description |
---|
HandScore() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isBeforeDealerMinimum(java.util.List<Card> dealer)
If dealer's car value is less than 17.
|
static boolean |
isBlackJack(java.util.List<Card> cards) |
static boolean |
isBust(int value)
IS WHEN TOTAL CARDS VALUE IS MORE THEN 21
|
protected static boolean |
isTarget(java.util.List<Card> cards) |
protected static int |
value(java.util.Collection<Card> cards)
Returns the value of the income cards
|
public static boolean isBlackJack(java.util.List<Card> cards)
protected static boolean isTarget(java.util.List<Card> cards)
protected static int value(java.util.Collection<Card> cards)
public static boolean isBust(int value)
public static boolean isBeforeDealerMinimum(java.util.List<Card> dealer)