From cb3b290dd2c7782ddc74c869b4625508b05eb72a Mon Sep 17 00:00:00 2001 From: fdai7793 Date: Sun, 4 Feb 2024 20:03:29 +0100 Subject: [PATCH] addStartingCardsToPlayerDecks --- src/main/java/de/hsfulda/onses/services/GameService.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/main/java/de/hsfulda/onses/services/GameService.java b/src/main/java/de/hsfulda/onses/services/GameService.java index cc34ee2..c07fe43 100644 --- a/src/main/java/de/hsfulda/onses/services/GameService.java +++ b/src/main/java/de/hsfulda/onses/services/GameService.java @@ -15,6 +15,14 @@ public class GameService { fillDrawDeck(); shuffleDeck(); setFirstCard(); + + for (int i = 0; i < 7; i++) { + this.drawCard(1); + this.nextPlayer(); + + this.drawCard(1); + this.nextPlayer(); + } } public GameService() {