private GameUi.eMatrixSize parse(string i_MatrixSizeStr)
        {
            bool isIntParseCompleted = true;

            GameUi.eMatrixSize matrixSize = GameUi.eMatrixSize.WrongChoise;

            isIntParseCompleted = int.TryParse(i_MatrixSizeStr, out int paresInt);
            if (isIntParseCompleted)
            {
                if (paresInt == 1)
                {
                    matrixSize = GameUi.eMatrixSize.SixBySix;
                }
                else if (paresInt == 2)
                {
                    matrixSize = GameUi.eMatrixSize.EightByEight;
                }
                else
                {
                    matrixSize = GameUi.eMatrixSize.WrongChoise;
                }
            }

            return(matrixSize);
        }
        private bool checkMatrixSizeInput(string i_MatrixSizeStr)
        {
            bool isValidInput = true;

            GameUi.eMatrixSize gameModeVal = parse(i_MatrixSizeStr);

            if (gameModeVal != GameUi.eMatrixSize.EightByEight && gameModeVal != GameUi.eMatrixSize.SixBySix)
            {
                isValidInput = false;
            }

            return(isValidInput);
        }
 public MatrixSizeManager()
 {
     m_MatrixSize = GameUi.eMatrixSize.WrongChoise;
 }