static void ComputerInputCalculated() { CompPicks = new List <TTTRegion>(); if (TicTacToeAI.CompPicksPriority.Count == 0) { bool firstmove = true; foreach (TTTRegion child in Regions) { if (child.owner != eSymbol.None) { firstmove = false; break; } } if (!firstmove) { foreach (TTTRegion child in Regions) { if (child.owner == eSymbol.None) { child.CalcValue(CompSymbol); } } } else { A1.CalcValue(CompSymbol); A3.CalcValue(CompSymbol); C1.CalcValue(CompSymbol); C3.CalcValue(CompSymbol); } } }