public void restart() { gameProgress = new GameProgress(); tutorial.defaultState(); sounds.playTick(); setActualPlayer(FIRSTPLAYER); pauseCanvas.SetActive(false); gameCanvas.SetActive(true); aiCanvas.SetActive(false); navigateBoardCanvas.SetActive(false); gameOver = false; calculatingTurn = false; gameBoardObject.reset(); gameBoardData.reset(); }