Example #1
0
        static void Main(string[] args)
        {
            World gameWorld = new World(new Player("Drew"));

            int keepGoing = 1;
            while( keepGoing == 1)
            {
                gameWorld.advance();
                Console.WriteLine("Do you want to continue?: (1 = Yes, 2 = No)");
                keepGoing = getInputBetween(1, 2);
            }

            Console.WriteLine("Thanks for playing!");
            Console.ReadLine();
        }