This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Programming Diversions and the fly likes Map or Maze Logic Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Other » Programming Diversions
Bookmark "Map or Maze Logic" Watch "Map or Maze Logic" New topic

Map or Maze Logic

Ray Marsh
Ranch Hand

Joined: Jan 12, 2000
Posts: 458
Anyone know where I could find an example of maze logic? Maybe map logic would be closer to what I need.

I need to be able to find the shortest distance between 2 or more points on a 2 dimensional grid with obstacles. Even without obstacles is ok, I can add the obstacle logic later.


Anxiety does not empty tomorrow of its sorrows, but only empties today of its strength. – Charles Spurgeon
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
Ray Marsh
Ranch Hand

Joined: Jan 12, 2000
Posts: 458
That's perfect. Thanks.
Jim Yingst

Joined: Jan 30, 2000
Posts: 18671
That covers maze logic. For Map logic - well, there have been occasional rumors, but no definite evidence yet. We'll keep you posted.

"I'm not back." - Bill Harding, Twister
Mapraputa Is
Leverager of our synergies

Joined: Aug 26, 2000
Posts: 10065

Uncontrolled vocabularies
"I try my best to make *all* my posts nice, even when I feel upset" -- Philippe Maquet
Ray Marsh
Ranch Hand

Joined: Jan 12, 2000
Posts: 458
um... I think I'll stick with maze logic. Hell hath no fury like an angry Map.
I agree. Here's the link:
subject: Map or Maze Logic
Similar Threads
Finding the shortest path on a grid
Maze and robots game
Filling an Array.
Problem in a Maze.
Maze game