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; }
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; }