Esempio n. 1
0
    public void FillRandomly()
    {
        int      randomIndex = UnityEngine.Random.Range(0, EmptyCells.Count);
        GridCell cell        = EmptyCells.ElementAt(randomIndex);

        cell.FillSelfWithRandomOption();
    }
Esempio n. 2
0
    public void FillLowestEntropy()
    {
        GridCell cellWithLeastOptions = EmptyCells.OrderBy(item => item.Options.Count).First();

        cellWithLeastOptions.FillSelfWithRandomOption();
    }