More Methods for Cube Mazes
Learn a few more methods that will be added to the CubeGrid class.
The CubeGrid
class: A few more methods
Once we have that much, we reach the hardest part: determining cell adjacency. Specifically, we need to identify which cells are adjacent to which cells at the boundaries, and there are some remarkable edge cases here. We’ll set the basics up in the configure_cells
and []
methods, like this:
Get hands-on with 1400+ tech skills courses.