feat: make timer stop game (Fixes #15)
All checks were successful
Linux arm64 / Build (push) Successful in 29s

This commit is contained in:
2025-02-01 13:41:13 +01:00
parent f22debdf5f
commit 352aee49e4
11 changed files with 109 additions and 11 deletions

View File

@@ -12,7 +12,7 @@ import sudoku.structure.MultiDoku;
public class Game {
public static enum GameState {
GameNotStarted, GameGoing, GameEnd
GameNotStarted, GameGoing
}
private final Map<Integer, Player> players;
@@ -60,7 +60,7 @@ public class Game {
}
public void stopGame() {
this.gameState = GameState.GameEnd;
this.gameState = GameState.GameNotStarted;
}
public GameState getGameState() {