using System; using System.Collections.Generic; using System.Threading; namespace creachopedia { class Program { static void Main(string[] args) { var creacherdict = new Dictionary(); creacherdict.Add("paca", new GroundCreacher("paca", 4)); creacherdict.Add("llama", new GroundCreacher("llama", 4)); creacherdict.Add("stingray", new WaterCreacher("stingray", 0)); while (true) { Console.WriteLine("Please input a creacher name, or (q) to quit 0u0"); string userin = Console.ReadLine(); if (creacherdict.ContainsKey(userin)) { creacherdict[userin].Introduce(); creacherdict[userin].Step(); creacherdict[userin].footsies = 2; } else if(userin == "q"){ Console.WriteLine("Thank you for using the CreachoPedia!!!!"); return; } else if(userin == "heenlo!" || userin == "henlo" || userin == "heenlo"){ Console.WriteLine("Well heenlo to you too! 0u0"); } else { Console.WriteLine("I don't know what that is! What on boo Earth?!!?!?!?"); } Console.WriteLine(""); Thread.Sleep(1000); } } } }