def create_maze(layout_mesh):
    maze = Maze(layout_mesh.width, layout_mesh.height)
    food = []
    for pos, items in layout_mesh.items():
        if Wall in items:
            maze[pos] = True
        if Food in items:
            food.append(pos)
    return maze, food
Transforms a layout_mesh into a Maze.
dataset/ETHPy150Open ASPP/pelita/pelita/datamodel.py/create_maze