private static void WaitForInputLoop() { string input = "h"; while (input != "") { switch (input.ToUpper()) { case "H": Console.WriteLine("Commands:"); Console.WriteLine("\th: Help"); Console.WriteLine("\tg: Open Game"); Console.WriteLine("\tr: Reset Game"); Console.WriteLine("\tc: Clear line Game"); Console.WriteLine("\tEnter: Shutdown Server"); break; case "C": Console.WriteLine(); Console.WriteLine("-------------------------------"); Console.WriteLine(); break; case "G": Process.Start(Settings.webserverUrl); break; case "R": Stop(); Start(); StateEngine.ResetState(); Console.WriteLine("Game reset done"); break; default: break; } input = Console.ReadLine(); } }