librejack

Blackjack clone written in java
git clone https://github.com/michaelneuper/librejack.git
README | Files | Log | Refs | LICENSE

commit d92e9d48e5e1a3b701570f345f7e771c07519026
parent 18001964e4791ee947e13bc9b5808c1adaca51f9
Author: Michael Neuper <73108749+michaelneuper@users.noreply.github.com>
Date:   Sat,  8 Oct 2022 12:07:10 +0200

remove startRound from constructor

Diffstat:
Msrc/controller/Controller.java | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/controller/Controller.java b/src/controller/Controller.java @@ -35,14 +35,12 @@ public class Controller { dealer = new Dealer(); player = new Player(); - - startRound(); } /** * Handles logic for each round */ - private void startRound() { + public void startRound() { // if we run out of cards if(wins > 0 || losses > 0 || pushes > 0) {