Procházet zdrojové kódy

Backing up changes

Lauren Green před 6 roky
rodič
revize
a65a443b70

+ 1
- 1
src/main/java/io/zipcoder/casino/Console.java Zobrazit soubor

@@ -104,7 +104,7 @@ public class Console {
104 104
 
105 105
     public String getCommand() {
106 106
         String command = "";
107
-        String input = scanner.nextLine();
107
+        String input = scanner.next();
108 108
         input = input.toLowerCase().trim();
109 109
 
110 110
         for(String name : gameLib){

+ 5
- 6
src/main/java/io/zipcoder/casino/Yahtzee.java Zobrazit soubor

@@ -21,12 +21,6 @@ public class Yahtzee extends DiceGame implements Game, Gamble {
21 21
         this.betAmount = bid;
22 22
     }
23 23
 
24
-
25
-    @Override
26
-    public void quit() {
27
-
28
-    }
29
-
30 24
     public void startGame() {
31 25
         Dice dice1 = new Dice();
32 26
         Dice dice2 = new Dice();
@@ -223,4 +217,9 @@ public class Yahtzee extends DiceGame implements Game, Gamble {
223 217
         System.out.println("You won $" + payOut);
224 218
     }
225 219
 
220
+    @Override
221
+    public void quit() {
222
+
223
+    }
224
+
226 225
 }