public void FillRandomly() { int randomIndex = UnityEngine.Random.Range(0, EmptyCells.Count); GridCell cell = EmptyCells.ElementAt(randomIndex); cell.FillSelfWithRandomOption(); }
public void FillLowestEntropy() { GridCell cellWithLeastOptions = EmptyCells.OrderBy(item => item.Options.Count).First(); cellWithLeastOptions.FillSelfWithRandomOption(); }