Example #1
0
 public void ProcessFirstGeneration()
 {
     if (null == CurrentGame)
     {
         throw new Exception(Resources.GameOver);
     }
     CurrentGame.ProcessGeneration();
 }
Example #2
0
        public void StartGame()
        {
            var count = 0;

            while (count < int.MaxValue)
            {
                CurrentGame.ProcessGeneration();
                Thread.Sleep(100);
                count++;
            }
            CurrentGame = null;
        }