static void Main(string[] args) { GameMap map = new GameMap(); Player player = new Player(ref map); while (true) { map.Print(); Console.Write("Good sir, would you kindly enter a cardinal direction? "); player.ParseDirection(ref map, Console.ReadLine()); } }