Пример #1
0
 private BoardGame Update(BoardGame game)
 {
     while (EscapeKeyPress.ReadEscapeKeyPress())
     {
         game = game.NextIteration(game);
         DisplayBoardInfo(game);
         Thread.Sleep(ConfigSettings.Delay);
     }
     return(game);
 }