Skip to content
Snippets Groups Projects
Commit 1347f665 authored by iliya's avatar iliya
Browse files

fix: moved initBets call outside of the constructor

parent 9a7f8888
No related branches found
No related tags found
No related merge requests found
...@@ -21,6 +21,8 @@ public class App { ...@@ -21,6 +21,8 @@ public class App {
GameManager foo = new GameManager(Game.BLACKJACK, nbHumanPlayers, nbBasicAi, nbAdvancedAi, nbDecks); GameManager foo = new GameManager(Game.BLACKJACK, nbHumanPlayers, nbBasicAi, nbAdvancedAi, nbDecks);
foo.initBets(nbHumanPlayers, nbBasicAi, nbAdvancedAi);
foo.runGame(); foo.runGame();
scanner.close(); scanner.close();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment