First page Back Continue Last page Overview Graphics
Python 3000
def create_map(x: “in map units”,
y: “in map units”,
walls: “2D boolean array (x by y) with True meaning a wall”,
pixel_width: “number of pixels per map unit”) -> “Graphical PNG map”
def random_map(x: Coord, y: Coord) -> Image: