void PlayGame() { PhenoType[] players = new PhenoType[8]; for (int i = 0; i < 8; i++) { int ind = Random.Range(0, evoManager.PopulationQueue.Count); players[i] = evoManager.PopulationQueue[ind]; evoManager.PopulationQueue.RemoveAt(ind); } evolver.SetPlayers(players); evoManager.WritePopulationQueue(); evoManager.EndGame(); }