// Specify what you want to happen when the Elapsed event is raised. private void OnTimedEvent(object source, ElapsedEventArgs e) { if (timeRemaining == 0) { _playingGame = false; _gameTimer.Stop(); _gameConsoleView.DisplayGameOverScreen(); } else { _gameConsoleView.DisplayUpdateTimer(timeRemaining); timeRemaining--; } }