From 04d9439db68d8e3c3ee29ea4a96513b3387933e9 Mon Sep 17 00:00:00 2001 From: Friederike von Gruben Date: Mon, 6 Feb 2023 14:07:46 +0100 Subject: [PATCH] Edited BlackJack constructor Set botIn = true --- src/main/java/org/bitbiome/classes/BlackJack.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/org/bitbiome/classes/BlackJack.java b/src/main/java/org/bitbiome/classes/BlackJack.java index bc17c37..e004bde 100644 --- a/src/main/java/org/bitbiome/classes/BlackJack.java +++ b/src/main/java/org/bitbiome/classes/BlackJack.java @@ -36,12 +36,14 @@ public class BlackJack { private int playerPoints; private int botPoints; private boolean playerIn; + private boolean botIn; public BlackJack(String playerName) { this.playerName = playerName; this.playerPoints = 0; this.botPoints = 0; this.playerIn = true; + this.botIn = true; } }