diff --git a/src/main/java/de/hsfulda/onses/services/GameService.java b/src/main/java/de/hsfulda/onses/services/GameService.java index 30a48fb..ea8824f 100644 --- a/src/main/java/de/hsfulda/onses/services/GameService.java +++ b/src/main/java/de/hsfulda/onses/services/GameService.java @@ -145,6 +145,11 @@ public class GameService { break; } checkForWin(); + if (!this.test) { + if (!game.getPlayerService().getCurrentTurn()) { + game.getPlayerService().botMove(); + } + } } public boolean legalMove(Card card) {