...

/

More Methods for Cube Mazes

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:

Access this course and 1400+ top-rated courses and projects.