示例#1
0
        private static void StartSimulation(Game game)
        {
            var cki = new ConsoleKeyInfo();

            Console.WriteLine();
            Console.WriteLine(Output.StartingSimulation);
            while (cki.Key != ConsoleKey.Escape)
            {
                Console.WriteLine(GridFormatter.OutputWithoutGridLinesAndNumbers(_grid));
                Console.WriteLine();
                Console.WriteLine(Output.PromptToProgressTime);
                cki = Console.ReadKey();
                game.ProgressTime();
            }
        }