Browse Source

legalMoveColorBlack

main
fdai7906 11 months ago
parent
commit
672f21267d
  1. 2
      src/main/java/de/hsfulda/onses/services/GameService.java

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

@ -33,6 +33,8 @@ public class GameService {
if (card.getValue() == lastCard.getValue()) legalMoveFound = true; // same value
if (card.getColor() == Card.Color.BLACK) legalMoveFound = true; // Color Black
return legalMoveFound;
}

Loading…
Cancel
Save