static void Main() { int _Turns = 1; char _Choice; _Character Char = new _Character(); _Game._SetupGame(Char); // Main Loop Start while (!_Game._Over) { Console.WriteLine("\n"); Console.WriteLine("Turn Number: " + _Turns); Console.WriteLine("What you like to do?"); Console.WriteLine("s) Search w) Wait , q) Quit"); _Choice = char.ToLower(Console.ReadKey().KeyChar); switch (_Choice) { case 'q': Console.WriteLine("uiting"); _Game._Over = true; break; case 's': Console.WriteLine("earching. +1 Luck"); Char.Lucky(1); break; case 'w': Console.WriteLine("aiting"); Char.Lucky(0); break; } _Turns++; } // Main Loop End Console.WriteLine("Looks like the game is over."); }
public static void _SetupGame(_Character Char) { Char.SetName(); Console.WriteLine("Welcome " + Char.GetName() + " to " + _Game._GetGameName() + ". You will be exploring the fantastic world of SumDum. "); }