Browse Source

add playcard Reverse

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

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

@ -38,6 +38,12 @@ public class GameService {
nextPlayer();
nextPlayer();
}
// Choose
if (card.getValue() == Card.Value.CHOOSE) {
// Abfrage Farbe
Card.Color color = Card.Color.BLUE; //Vorübergehend Blau
game.changeLastPlayedCardColor(color);
}
}
public boolean legalMove(Player player, Card card)

Loading…
Cancel
Save