From b17b3bc18a237c11b7610df36174b77f34e1ab6b Mon Sep 17 00:00:00 2001 From: Friederike von Gruben Date: Mon, 6 Feb 2023 14:06:35 +0100 Subject: [PATCH] Edited BlackJack constructor Set botPoints --- 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 e69c7f5..a3ac081 100644 --- a/src/main/java/org/bitbiome/classes/BlackJack.java +++ b/src/main/java/org/bitbiome/classes/BlackJack.java @@ -34,10 +34,12 @@ public class BlackJack { private String playerName; private int playerPoints; + private int botPoints; public BlackJack(String playerName) { this.playerName = playerName; this.playerPoints = 0; + this.botPoints = 0; } }