Browse Source

reviewing yahtzee / scoresheet with team

Jonathan Hinds 6 years ago
parent
commit
f3576edd32
1 changed files with 15 additions and 2 deletions
  1. 15
    2
      src/main/java/io/zipcoder/casino/Yahtzee.java

+ 15
- 2
src/main/java/io/zipcoder/casino/Yahtzee.java View File

29
 
29
 
30
     }
30
     }
31
 
31
 
32
-    public void StartGame(DicePlayer dicePlayer) {
32
+    public void StartGame() {
33
         Dice dice1 = new Dice();
33
         Dice dice1 = new Dice();
34
         Dice dice2 = new Dice();
34
         Dice dice2 = new Dice();
35
         Dice dice3 = new Dice();
35
         Dice dice3 = new Dice();
41
         dicePlayer.getCup()[2] = dice3;
41
         dicePlayer.getCup()[2] = dice3;
42
         dicePlayer.getCup()[3] = dice4;
42
         dicePlayer.getCup()[3] = dice4;
43
         dicePlayer.getCup()[4] = dice5;
43
         dicePlayer.getCup()[4] = dice5;
44
-
45
     }
44
     }
46
 
45
 
47
     public void StartRound() {
46
     public void StartRound() {
50
         }
49
         }
51
         dicePlayer.printCup();
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
 }