Beispiel #1
0
        private static void WalkTheMap(ASCIIPathFinder asciiPathFinder, string map, string mapName)
        {
            asciiPathFinder.LoadASCIIMap(map);
            asciiPathFinder.WalkThePath();

            Console.WriteLine(mapName);
            Console.WriteLine(map);
            Console.WriteLine();
            Console.WriteLine($"Letters {asciiPathFinder.FoundLetters}");
            Console.WriteLine($"Path as characters {asciiPathFinder.PassedPath}");
            Console.WriteLine("=========================================================================");
        }