Top "Maze" questions

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

Programming theory: Solve a maze

What are the possible ways to solve a maze? Ive got two ideas, but I think they are not very …

algorithm maze
Creating a maze solving algorithm in Java

I've been assigned with the task of creating a maze solver in Java. Here's the assignment: Write an application that …

java algorithm maze
Representing and solving a maze given an image

What is the best way to represent and solve a maze given an image? Given an JPEG image (as seen …

python algorithm matlab image-processing maze
Simple Java 2d array maze sample

I am working or understanding how to create a simple java 2d maze that should look like this: int [][] maze = { {1,1,1,1,1,1,1,1,1,1,1,1,1}, {1,0,1,0,1,0,1,0,0,0,0,0,1}, {1,0,1,0,0,0,1,0,1,1,1,0,1}, {1,0,0,0,1,1,1,0,0,0,0,0,1}, {1,0,1,0,0,0,0,0,1,1,1,0,1}, {1,0,1,0,1,1,1,0,1,0,0,0,1}, {1,0,1,0,1,0,0,0,1,1,1,0,1}, {1,0,1,0,1,1,1,0,1,0,1,0,1}, {1,0,0,0,0,0,0,0,0,0,1,0,1}, {1,1,1,1,1,1,1,1,1,1,1,1,1} }; …

java multidimensional-array depth-first-search maze
Maze solving with breadth first search

Can someone please explain how could I solve a maze using breadth first search? I need to use breadth first …

breadth-first-search maze
List.append() changing all elements to the appended item

I seem to have a problem with my maze generating program made in Python. I'm trying to randomly create a …

python list append maze
Breadth-first search on an 8x8 grid in Java

What I'm trying to do is count how many moves it takes to get to the goal using the shortest …

java breadth-first-search maze
Solving a maze using recursion in python

So, I have an assignment which asks me to solve a maze using recursion. I will post the assignment guidelines …

python recursion maze
Random maze generator in C

I don't know how to make sure the random maze can lead from the entry on the right side to …

c random multidimensional-array maze
Maze solving algorithm in C

basically, I'm trying to implement an algorithm in C that can solve a maze using the right-hand or left-hand rule. …

c algorithm maze