feat: make timer stop game (Fixes #15)
All checks were successful
Linux arm64 / Build (push) Successful in 29s
All checks were successful
Linux arm64 / Build (push) Successful in 29s
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user