コード例 #1
0
        private void ChooseRandomCell()
        {
            var  RNG = new Random();
            Cell cell;

            do
            {
                cell = new Cell(RNG.Next(10), RNG.Next(10));
            }while (playerField.CheckIfMarked(cell));
            startCell   = cell;
            currentCell = startCell;
        }