|
@@ -16,6 +16,7 @@ public class Craps extends DiceGame implements Gamble {
|
16
|
16
|
|
17
|
17
|
public Craps() {
|
18
|
18
|
readyPlayers();
|
|
19
|
+ //promptBets();
|
19
|
20
|
runGame();
|
20
|
21
|
}
|
21
|
22
|
//for test purposes
|
|
@@ -39,7 +40,7 @@ public class Craps extends DiceGame implements Gamble {
|
39
|
40
|
}
|
40
|
41
|
|
41
|
42
|
public void placeBet(Player player) {
|
42
|
|
- this.bet = console.integerInputSameLine("Enter your bet: ");
|
|
43
|
+ bet = console.integerInputSameLine("Enter your bet: ");
|
43
|
44
|
}
|
44
|
45
|
|
45
|
46
|
public void evaluateBet(Player player, long payout) {
|
|
@@ -83,7 +84,7 @@ public class Craps extends DiceGame implements Gamble {
|
83
|
84
|
|
84
|
85
|
public void printRollAgain(int point){
|
85
|
86
|
console.println("\n--------------------" +
|
86
|
|
- "\nPoint to roll for: " + point + "--------------------");
|
|
87
|
+ "\nPoint to roll for: " + point + "\n--------------------");
|
87
|
88
|
promptEnterKey("roll again");
|
88
|
89
|
}
|
89
|
90
|
|