diff --git a/bin/cards/maumau/model/Normal.class b/bin/cards/maumau/model/Normal.class index cc59868..ea7d610 100644 Binary files a/bin/cards/maumau/model/Normal.class and b/bin/cards/maumau/model/Normal.class differ diff --git a/lib/junit-platform-console-standalone-1.11.0-M2.jar b/lib/junit-platform-console-standalone-1.11.0-M2.jar new file mode 100644 index 0000000..5c4bb1a Binary files /dev/null and b/lib/junit-platform-console-standalone-1.11.0-M2.jar differ diff --git a/src/cards/maumau/model/Normal.java b/src/cards/maumau/model/Normal.java index 96d3705..70fd88f 100644 --- a/src/cards/maumau/model/Normal.java +++ b/src/cards/maumau/model/Normal.java @@ -12,10 +12,13 @@ public class Normal implements GameState{ public void addPlayer(Player player){} public void startGame(){} - public void finishGame(){} - public void cancelGame(){ - + public void finishGame(){ + // Logic for finishing Game ???? + if (handler.getGame().getPlayerHandler().getPlayers().isEmpty()) { + handler.setGameState(new Finished(handler)); + } } + public void cancelGame(){} public void chooseCard(Card c){} public void chooseSuit(Suit suit){} public void skip(){}