diff --git a/src/main/java/de/hsfulda/onses/services/GameService.java b/src/main/java/de/hsfulda/onses/services/GameService.java index c9acd67..d786a23 100644 --- a/src/main/java/de/hsfulda/onses/services/GameService.java +++ b/src/main/java/de/hsfulda/onses/services/GameService.java @@ -25,6 +25,11 @@ public class GameService { // add lastPlayedCard back to drawCardDeck game.setLastPlayedCard(card); // check for special rules (draw, colorchoose, skip,...) + // Skip + if (card.getValue() == Card.Value.SKIP) { + game.getPlayerService().nextTurn(); + game.getPlayerService().nextTurn(); + } } public boolean legalMove(Player player, Card card)