瀏覽代碼

minor corrections in cardGame

Jonathan Hinds 6 年之前
父節點
當前提交
b171245497
共有 2 個文件被更改,包括 10 次插入6 次删除
  1. 1
    1
      src/main/java/io/zipcoder/casino/Dice.java
  2. 9
    5
      src/main/java/io/zipcoder/casino/War.java

+ 1
- 1
src/main/java/io/zipcoder/casino/Dice.java 查看文件

@@ -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 查看文件

@@ -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
 }