Пример #1
0
        public void StartGame()
        {
            CurrentGeneration.FillField();

            while (true)
            {
                CurrentGeneration.PrintField();
                if (CheckPopulationForZero())
                {
                    break;
                }
                CurrentGeneration.BornNextGeneration(NextGeneration);
                TryToFixStalemate();
                ShiftGenerations();
                Thread.Sleep(100);
            }
        }