|
@@ -52,8 +52,9 @@ public class Yahtzee extends DiceGame implements Game, Gamble{
|
52
|
52
|
for (Dice d : dicePlayer.getCup()) {
|
53
|
53
|
d.roll();
|
54
|
54
|
}
|
55
|
|
- System.out.println("You rolled:");
|
|
55
|
+ System.out.println("\nYou rolled:");
|
56
|
56
|
dicePlayer.printCup();
|
|
57
|
+ System.out.println();
|
57
|
58
|
|
58
|
59
|
roundRoutine();
|
59
|
60
|
recordingScore();
|
|
@@ -80,7 +81,7 @@ public class Yahtzee extends DiceGame implements Game, Gamble{
|
80
|
81
|
for (Dice d : dicePlayer.getCup()) {
|
81
|
82
|
d.roll();
|
82
|
83
|
}
|
83
|
|
- System.out.println("You rolled:");
|
|
84
|
+ System.out.println("\nYou rolled:");
|
84
|
85
|
dicePlayer.printCup();
|
85
|
86
|
System.out.println();
|
86
|
87
|
break;
|
|
@@ -90,8 +91,9 @@ public class Yahtzee extends DiceGame implements Game, Gamble{
|
90
|
91
|
Scanner in2 = new Scanner(System.in);
|
91
|
92
|
String diceToRoll = in2.next();
|
92
|
93
|
reRoll(diceToRoll);
|
93
|
|
- System.out.println("You rolled:");
|
|
94
|
+ System.out.println("\nYou rolled:");
|
94
|
95
|
dicePlayer.printCup();
|
|
96
|
+ System.out.println();
|
95
|
97
|
break;
|
96
|
98
|
|
97
|
99
|
case 3:
|