Example #1
0
        static void Main(string[] args)
        {
            bool playAgain = false;

            do
            {
                ConsoleOutput.Start();

                Setup     setup = new Setup();
                GameState state = setup.Start();

                GameFlow game = new GameFlow();
                GameFlow.Start(state);
                break;
            }while (playAgain);
            {
                Console.WriteLine("Would you like to play again? :)");
                Console.WriteLine("Press Y for yes, press Q to quit.");
                String userInput = Console.ReadLine();
                if (userInput == "Y" || userInput == "y")
                {
                    Setup restart = new Setup();
                    restart.Start();
                }
                else if (userInput == "Q" || userInput == "q")
                {
                    return;
                }
            }
        }
Example #2
0
        static void Main(string[] args)
        {
            GameFlow game = new GameFlow();

            game.Start();
        }
Example #3
0
        static void Main(string[] args)
        {
            GameFlow flow = new GameFlow();

            flow.Start();
        }