Making Triangle (Delta) Mazes
Learn how to make and display a maze made on a triangle grid, also known as a delta maze.
We'll cover the following
The delta mazes
Just as hexagon grids produce sigma mazes, triangle grids produce delta mazes. Again, it makes little difference what you call it because, in the end, it’s just another scaffolding for making mazes.
Let’s copy our hex_maze.rb
file to a newly created file delta_maze.rb
, and change it to refer to our new triangle grid:
delta_maze.rb
Get hands-on with 1200+ tech skills courses.