public void ClearBoard()
        {
            if (_gameContainer.DotList is null)
            {
                GameBoardGraphicsCP.InitBoard(_gameContainer); //i think.
            }
            _gameContainer.PreviousLine = new LineInfo();
            _gameContainer.PreviousDot  = new DotInfo(); //i think.
            foreach (var thisSquare in _gameContainer.SquareList !.Values)
            {
                thisSquare.Color  = 0;
                thisSquare.Player = 0;
            }
            foreach (var thisLine in _gameContainer.LineList !.Values)
            {
                thisLine.IsTaken = false;
            }
            foreach (var thisDot in _gameContainer.DotList !.Values)
            {
                thisDot.IsSelected = false;
            }
            _gameContainer.PlayerList !.ForEach(thisPlayer => thisPlayer.Score = 0);

            _gameContainer.RepaintBoard();
        }
        public void LoadGame()
        {
            //if (_gameContainer.DidChooseColors == false)
            //    return;
            GameBoardGraphicsCP.InitBoard(_gameContainer); //i think here for sure.
            //not sure if it needed to be somewhere else (?)
            int x = 0;

            _gameContainer.SaveRoot !.BoardData !.DotList.ForEach(thisDot =>
            {
                x++;
                _gameContainer.DotList ![x].IsSelected = thisDot;
            });