Module grid

Source
Expand description

Grid helpers.

Functions§

is_enclosed
Checks that the provided grid has walls on each edge.
parse
Parse a 2D grid.
parse_maze
Parse a “standard” maze with open tiles ., walls # and one start S and one end E.

Type Aliases§

Grid
A parsed grid: (number of rows, number of columns, data).