/** * Restart or start a new game, will clear the board and win status */ public void restart() { clearCells(); winner = null; currentTurn = Player.X; state = GameState.IN_PROGRESS; }
/** * Restart or start a new game, will clear the board and win status */ public void restart() { clearCells(); winner = null; currentTurn = Player.X; state = GameState.IN_PROGRESS; }