Ver código fonte

minor corrections in cardGame

Jonathan Hinds 6 anos atrás
pai
commit
b171245497

+ 1
- 1
src/main/java/io/zipcoder/casino/Dice.java Ver arquivo

@@ -3,7 +3,7 @@ package io.zipcoder.casino;
3 3
 public class Dice {
4 4
     private int value;
5 5
 
6
-    public void Roll(){
6
+    public void roll(){
7 7
 
8 8
         //Generate a random number between 1 and 6
9 9
         //set value equal to this number

+ 9
- 5
src/main/java/io/zipcoder/casino/War.java Ver arquivo

@@ -11,11 +11,6 @@ public class War extends CardGame implements Gamble, Game {
11 11
         super(minBet, maxBet);
12 12
     }
13 13
 
14
-    public void Deal() {
15
-
16
-        //for every card in super.geDeck();
17
-
18
-    }
19 14
 
20 15
     /**
21 16
      * Specific to war methods
@@ -62,4 +57,13 @@ public class War extends CardGame implements Gamble, Game {
62 57
     public void StartRound() {
63 58
 
64 59
     }
60
+
61
+    public void Deal() {
62
+
63
+        /*
64
+            for every player playing this game (i)
65
+                for every card in the deck (j)
66
+
67
+         */
68
+    }
65 69
 }