Browse Source

refactoring: simplify fillPlayerDecks

main
fdai7920 11 months ago
parent
commit
5ddbe1bf1b
  1. 8
      src/main/java/de/hsfulda/onses/services/GameService.java

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

@ -148,13 +148,9 @@ public class GameService {
}
public void fillPlayerDecks() {
for (int i = 0; i < 7; i++) {
this.drawCard(1);
this.nextPlayer();
this.drawCard(1);
this.nextPlayer();
}
this.drawCard(7);
this.drawCard(7);
}
}
Loading…
Cancel
Save