|
@@ -9,7 +9,8 @@ public class BlackJack extends CardGames {
|
9
|
9
|
Player player;
|
10
|
10
|
|
11
|
11
|
public void start() {
|
12
|
|
- playingBj = true;
|
|
12
|
+ playingBJ = true;
|
|
13
|
+
|
13
|
14
|
}
|
14
|
15
|
|
15
|
16
|
public BlackJack(Player player) {
|
|
@@ -18,9 +19,7 @@ public class BlackJack extends CardGames {
|
18
|
19
|
|
19
|
20
|
|
20
|
21
|
|
21
|
|
-while(playingBJ ==true)
|
22
|
|
-
|
23
|
|
- {
|
|
22
|
+while(playingBJ == true){
|
24
|
23
|
Console.output("Welcome to BlackJack " + player.name + ". I am your dealer Vince and I am here to take your money!");
|
25
|
24
|
currentBet = Console.numberFromString(Console.askForInput("How much would you like to bet?"));
|
26
|
25
|
deck.deal();
|