示例#1
0
文件: Program.cs 项目: TimDN/Snake
        static void Main()
        {
            var game = new Board();

            while (!game.Quit)
            {
                game.Play();
                if (game.Lost)
                {
                    Console.Clear();
                    Console.WriteLine(" Enter to play again ");
                    Console.ReadLine();
                    game = new Board();
                }
            }
        }