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; } } }
static void Main(string[] args) { GameFlow game = new GameFlow(); game.Start(); }
static void Main(string[] args) { GameFlow flow = new GameFlow(); flow.Start(); }