Hey I want to create a simple maze just like PacMan s Maze. What is the logic in mazes and how can we represent walls to pass over or not? :(
it takes even longer to write a message asking about this, than actually thinking it through yourself… how about an array of 0 and 1’s ? or better yet - do like everyone else and represent the map as an array of characters, where a specific character means something internally.
Are there any examples, source codes of mazes?I could not imaginize the array of numbers ,I lookup up PacMan s source code there is a matrix ,a big matrix which is 15x15 ,and I tried to solve what the numbers mean in the matrix but I can't.
check out the pacman game on www.netconplus.com/antstuff
i made that with the guy who has that site. and the maze stuff is pretty simple. post back if u have any questions
Hi
I am just getting started in J2ME and I would like to code a very simple maze.
I tried different search engine’s and I could not find anything.
Any information on this topic would be greatly appreciated.
Thank You,
David55
If you can’t follow the suggestion above about using arrays, you’ll probably need to learn a bit more with J2ME before you really get into maze design, I’m afraid. Any answers you would get are likely to be beyond you if that is.
Create perlin noise.
Interpolate and scale perlin noise.
Combine many perlin noise results.
Use the values to generate a maze.
Better yet, use simplex noise:
http://staffwww.itn.liu.se/~stegu/simplexnoise/simplexnoise.pdf
Easy. 
http://www.astrolog.org/labyrnth/algrithm.htm
http://www.arch.hku.hk/~marcaurel/phd/icce03draft.pdf
You guys can use 0 and 1 to create walls… Examples you can represent 0 for a wall which passable or a 1 for a blocked wall…
You must create a grid of WIDTH X HEIGHT and then place those walls within the cells of those grids…