Introducing 3D Mazes
Learn about 3D mazes, which are formed by stacking two-dimensional grids.
We'll cover the following...
We'll cover the following...
Defining a 3D maze
So, zero-dimensional cells combine to form one-dimensional rows, and one-dimensional rows stack to form two-dimensional grids. It should follow, then, that two-dimensional grids may be stacked to form three-dimensional grids, which is exactly the case, as the following figure shows.
When we think of each of these separate 2D grids as levels within the larger 3D grid, it becomes clear that each cell in such a grid must be addressed by three coordinates: row, column, and level. Three coordinates mean three dimensions.