public void StartGame(PointsController pointsController, MatchTimer timer)
        {
            pointsController.OnPointsUpdated.AddListener(SetScore);

            SetScore(0);
            _goal.text = $"Goal: {pointsController.Goal:00}";
            _time.SetTimer(timer);
        }
        public void StartGame()
        {
            _timer?.Dispose();
            _timer = new MatchTimer();
            _timer.OnTimeEnd.AddListener(Lose);

            _pointsController?.Dispose();
            _pointsController = new PointsController(_localStorage, _gameSettings, this);
            _pointsController.OnGameWin.AddListener(Win);

            _inputController.OnTimeToHint += ActivateHint;

            Shuffle();

            _timer.CountDown(_gameSettings.MatchTime);
            _gameHud.StartGame(_pointsController, _timer);
        }