static void Main(string[] args) { int width = 50, height = 30, borderwidth = 1; char livingCell = 'o', deadCell = ' '; int value; Console.SetCursorPosition(0, 0); Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine("Выберите режим игры:"); Console.ForegroundColor = ConsoleColor.White; Console.WriteLine("1.Автоматический режим"); Console.WriteLine("2.Ручной режим (переход к следующему шагу по нажатию Enter)"); value = Convert.ToInt32(Console.ReadLine()); Console.Clear(); Console.ForegroundColor = ConsoleColor.Green; Console.WriteLine(" Инструкция"); Console.ForegroundColor = ConsoleColor.White; Console.WriteLine("Для того чтобы поставить/удалить клетку - нажмите кнопку Space"); Console.WriteLine("Игра будет начата через 10 секунд..."); Thread.Sleep(10000); Console.Clear(); Console.ForegroundColor = ConsoleColor.Green; GameOfLife.CreateInstance(width, height, borderwidth, livingCell, deadCell, value); GameOfLife.GetDrawing(); GameOfLife.Start(); }