Module grid

Source
Expand description

Grid helpers.

Functionsยง

from_str
Parse 2D grid.
from_str_padded
Parse 2D grid, adding padding around the edges.
is_enclosed
Checks that the provided grid has walls on each edge.