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

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