Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Maze representation help

Tags:

c++

maze

I want to create maze using graph but I don't know where to start. I just know ways to represent a maze that use array of array or graph.

  1. In Array of Array representation, is recursive backtracking used to generate maze?
  2. If I choose to use graph-based struct to generate the maze, then how do I map edges representing path? What I mean is how to create walls that are represented by end node of a graph?
like image 829
Mr.Anubis Avatar asked Jun 26 '26 14:06

Mr.Anubis


1 Answers

Thinking Labyrinth -- All you never thought you'd want to know about mazes. In addition to helping you identify terms for further research, this website is an extensive resource in itself.

like image 138
Martin Green Avatar answered Jun 29 '26 08:06

Martin Green