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