Browse Source

addStartingCardsToPlayerDecks

main
fdai7793 11 months ago
parent
commit
cb3b290dd2
  1. 8
      src/main/java/de/hsfulda/onses/services/GameService.java

8
src/main/java/de/hsfulda/onses/services/GameService.java

@ -15,6 +15,14 @@ public class GameService {
fillDrawDeck(); fillDrawDeck();
shuffleDeck(); shuffleDeck();
setFirstCard(); setFirstCard();
for (int i = 0; i < 7; i++) {
this.drawCard(1);
this.nextPlayer();
this.drawCard(1);
this.nextPlayer();
}
} }
public GameService() { public GameService() {

Loading…
Cancel
Save