|
@@ -29,7 +29,7 @@ public class Yahtzee extends DiceGame implements Game{
|
29
|
29
|
|
30
|
30
|
}
|
31
|
31
|
|
32
|
|
- public void StartGame(DicePlayer dicePlayer) {
|
|
32
|
+ public void StartGame() {
|
33
|
33
|
Dice dice1 = new Dice();
|
34
|
34
|
Dice dice2 = new Dice();
|
35
|
35
|
Dice dice3 = new Dice();
|
|
@@ -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() {
|
|
@@ -50,4 +49,18 @@ public class Yahtzee extends DiceGame implements Game{
|
50
|
49
|
}
|
51
|
50
|
dicePlayer.printCup();
|
52
|
51
|
}
|
|
52
|
+
|
|
53
|
+ public void roundRoutine(){
|
|
54
|
+
|
|
55
|
+ //ask if they want to score, or roll again?
|
|
56
|
+
|
|
57
|
+ //roll again if requested
|
|
58
|
+
|
|
59
|
+ //continue to roll until no more rolls are left
|
|
60
|
+
|
|
61
|
+ //ask user how they would like to score
|
|
62
|
+
|
|
63
|
+ //calculate the users score
|
|
64
|
+
|
|
65
|
+ }
|
53
|
66
|
}
|