public void TimerTick(object sender, ElapsedEventArgs eventArgs) { PlayingGround.MoveVehicles(); PlayingGround.SpawnNewCarts(); OutputView.PrintPlayground(PlayingGround); if (!IsPlaying) { Timer.Stop(); Timer.Dispose(); OutputView.PrintEndGame(Score); return; } InputView.PrintGameInstruction(); }