Connor Dunnigan 6 years ago
parent
commit
f478a80b48

+ 5
- 3
src/main/java/io/zipcoder/casino/Casino.java View File

@@ -39,7 +39,7 @@ public class Casino {
39 39
 
40 40
     private String getPlayerNames(int numberOfPlayers, String playerNames) {
41 41
         for (int i = 1; i <= numberOfPlayers; i++) {
42
-          String nameOfPlayer = console.getStringInput("PLAYER " + i + ": WHAT IS YOUR NAME?");
42
+          String nameOfPlayer = console.getStringInput("\nPLAYER " + i + ": WHAT IS YOUR NAME?");
43 43
           players.addPlayer(new Player(nameOfPlayer));
44 44
           playerNames += nameOfPlayer + ", ";
45 45
         }
@@ -47,8 +47,10 @@ public class Casino {
47 47
     }
48 48
 
49 49
     private int getNumberOfPlayers() {
50
-        return console.getIntegerInput("WELCOME TO EPSILON CASINO, CALLED \"ALMOST A CASINO\" ON YELP\n" +
51
-                  "PLEASE ENTER A NUMBER OF PLAYERS.");
50
+        return console.getIntegerInput("*********************************\n" +
51
+                "    WELCOME TO EPSILON CASINO\n---------------------------------\n" +
52
+                "CALLED \"ALMOST A CASINO\" ON YELP\n*********************************\n" +
53
+                "\nPLEASE ENTER A NUMBER OF PLAYERS.");
52 54
     }
53 55
 
54 56
     public void chooseTable() {

+ 3
- 2
src/main/java/io/zipcoder/casino/utilities/Console.java View File

@@ -140,12 +140,13 @@ public class Console {
140 140
     }
141 141
 
142 142
     public Integer getGameChoice() {
143
+        println("================");
143 144
         println("GAME LIST\n");
144 145
         println("1. CRAPS\n");
145 146
         println("2. BLACK JACK\n");
146 147
         println("3. GO FISH\n");
147
-        println("CHOOSE TABLE\n");
148
-        return getIntegerInput("");
148
+        println("================");
149
+        return getIntegerInput("\nCHOOSE TABLE");
149 150
     }
150 151
 
151 152
 

+ 1
- 1
src/main/java/io/zipcoder/casino/utilities/abstracts/Game.java View File

@@ -17,6 +17,6 @@ public abstract class Game {
17 17
 
18 18
     protected void announceGameChoice() {
19 19
         Console console = new Console();
20
-        console.println("Welcome to %s\n", this.getClassName());
20
+        console.println("\nWelcome to %s\n", this.getClassName());
21 21
     }
22 22
 }