|
@@ -41,7 +41,6 @@ public class Yahtzee extends DiceGame implements Game{
|
41
|
41
|
dicePlayer.getCup()[2] = dice3;
|
42
|
42
|
dicePlayer.getCup()[3] = dice4;
|
43
|
43
|
dicePlayer.getCup()[4] = dice5;
|
44
|
|
-
|
45
|
44
|
}
|
46
|
45
|
|
47
|
46
|
public void StartRound() {
|
|
@@ -49,5 +48,22 @@ public class Yahtzee extends DiceGame implements Game{
|
49
|
48
|
d.roll();
|
50
|
49
|
}
|
51
|
50
|
dicePlayer.printCup();
|
|
51
|
+
|
|
52
|
+ //roundRoutine();
|
|
53
|
+
|
|
54
|
+ }
|
|
55
|
+
|
|
56
|
+ public void roundRoutine(){
|
|
57
|
+
|
|
58
|
+ //ask if they want to score, or roll again?
|
|
59
|
+
|
|
60
|
+ //roll again if requested
|
|
61
|
+
|
|
62
|
+ //continue to roll until no more rolls are left
|
|
63
|
+
|
|
64
|
+ //ask user how they would like to score
|
|
65
|
+
|
|
66
|
+ //calculate the users score
|
|
67
|
+
|
52
|
68
|
}
|
53
|
69
|
}
|