|
@@ -20,22 +20,6 @@ public class Printer {
|
20
|
20
|
printMessage("Sorry, there is no game with that name, try one of: " + games);
|
21
|
21
|
}
|
22
|
22
|
|
23
|
|
- public static void getBet(String phrase){
|
24
|
|
- printMessage("What is the " + phrase + " at the table you're looking for?");
|
25
|
|
- }
|
26
|
|
-
|
27
|
|
- public static void unacceptableMaxBet(int minBet){
|
28
|
|
- printMessage("Your bet must be above " + minBet);
|
29
|
|
- }
|
30
|
|
-
|
31
|
|
- public static void unacceptableMinBet(){
|
32
|
|
- printMessage("Your bet must be above $0");
|
33
|
|
- }
|
34
|
|
-
|
35
|
|
- public static void studHandsDealt(){
|
36
|
|
- printMessage("Each player Dealt 3 cards");
|
37
|
|
- }
|
38
|
|
-
|
39
|
23
|
public static void showCard(Player player, Card card){
|
40
|
24
|
printMessage(player.getName() + " shows a " + card.getName());
|
41
|
25
|
}
|
|
@@ -55,10 +39,6 @@ public class Printer {
|
55
|
39
|
public static void welcomeTo(String gameName){
|
56
|
40
|
printMessage("Welcome to " + gameName + "!");
|
57
|
41
|
}
|
58
|
|
-
|
59
|
|
- public static void wrongCommand(){
|
60
|
|
- printMessage("Sorry, there is no game with that name.");
|
61
|
|
- }
|
62
|
42
|
|
63
|
43
|
public static void printWarTurnResult(String name, String cardName, int handSize){
|
64
|
44
|
printMessage(name + " has played " + cardName + " and has " + handSize + " cards left.");
|
|
@@ -67,14 +47,4 @@ public class Printer {
|
67
|
47
|
public static void playedFaceDown(String name){
|
68
|
48
|
printMessage(name + " has played a card face down.");
|
69
|
49
|
}
|
70
|
|
-
|
71
|
|
- public static void startSlots(){
|
72
|
|
- printMessage("You are all set to play a new slot game..zrrr..! \n");
|
73
|
|
- }
|
74
|
|
-
|
75
|
|
- public static void payOut(int payout){
|
76
|
|
- printMessage("Your payout amount for slot machine is: $" + payout + "\n");
|
77
|
|
- }
|
78
|
|
-
|
79
|
|
-
|
80
|
50
|
}
|