Browse Source

add playCard Reverse

main
fdai7906 11 months ago
parent
commit
a5bc6ba592
  1. 5
      src/main/java/de/hsfulda/onses/services/GameService.java

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

@ -33,6 +33,11 @@ public class GameService {
nextPlayer(); nextPlayer();
nextPlayer(); nextPlayer();
} }
// Reverse
if (card.getValue() == Card.Value.REVERSE) {
nextPlayer();
nextPlayer();
}
} }
public boolean legalMove(Player player, Card card) public boolean legalMove(Player player, Card card)

Loading…
Cancel
Save