# This is our list of tiles for the level # Each item is either a "Wall" or a "Path" Level_Data := [ "Wall", "Wall", "Wall", "Wall", "Wall", "Wall", "Wall", "Path", "Path", "Path", "Path", "Wall", "Wall", "Path", "Wall", "Wall", "Path", "Wall", "Wall", "Path", "Path", "Path", "Path", "Wall", "Wall", "Wall", "Wall", "Wall", "Wall", "Wall" ] # This function checks if a spot is a wall Is_Wall := (Tile_Type: string) => bool: # We check if the tile name is "Wall" return Tile_Type == "Wall"