MazeGenerator.Utils (maze_generator v0.1.0) View Source

Provides some utility functions for mazes and grids.

Link to this section Summary

Functions

Returns a map of neighboring cells of the cell and grid passed with the coordinates as the key and the cell as the value.

Link to this section Functions

Link to this function

neighbors(grid, coordinate)

View Source

Specs

Returns a map of neighboring cells of the cell and grid passed with the coordinates as the key and the cell as the value.