Top "Maze" questions

A maze is a tour puzzle in the form of a complex branching passage.

How can I create cells or grids in C++ for a randomized maze?

I'm trying to create a randomized maze in C++, but I can't start because I don't know how to create …

c++ algorithm data-structures maze
Count the number of "holes" in a bitmap

Consider a MxN bitmap where the cells are 0 or 1. '1' means filled and '0' means empty. Find the …

algorithm image-processing computer-vision maze
Pacman maze in Java

So I'm building the pacman game in Java to teach myself game programming. I have the basic game window with …

java algorithm 2d maze
Find Shortest Path in a Maze with Recursive Algorithm

I made a little recursive algorithm to find a solution to a maze in the following format ###S### ##___## ##_#_## #__#_## #E___## Where …

java algorithm recursion maze
How to convert a maze to a Graph?

I am trying to convert a maze data structure into a graph. The maze is like a grid and some …

graph maze
Maze solving with python

I am trying to make a maze solver, and it is working except that instead of the path being marked …

python recursion maze
Implementing a randomly generated maze using Prim's Algorithm

I am trying to implement a randomly generated maze using Prim's algorithm. I want my maze to look like this: …

algorithm graph-theory maze minimum-spanning-tree
Algorithm for maze generation with no dead ends?

I'm looking for a maze generation algorithm that can generate mazes with no dead ends but only a start and …

algorithm maze
Data Structure to Represent a Maze

I'm writing a game of Dynamic maze in which after each time the structure of maze will change (Some doors …

data-structures maze
Prolog maze solving algorithm

I want to implement a maze solving algorithm in Prolog. Therefore i searched for some maze solving algorithms and found …

algorithm recursion prolog maze