static Map loadAsciiMap(string path) { string asciiMap = File.ReadAllText(path); var width = asciiMap.IndexOf(Environment.NewLine, 0); var height = lineCount(asciiMap); return(MapExt.fromString(asciiMap, width, height));