// Sends the updated grid to the actuator private void Actuate() { var savedScore = GetAsync(() => _localStorageManager.GetBestScore()); if (savedScore < Score) { _localStorageManager.SetBestScore(Score); BestScore = Score; } // Clear the state when the game is over (game over only, not win) if (Over) { _localStorageManager.ClearGameState(); } else { _localStorageManager.SetGameState(this); } _inputManager.Actuate(this); }