actionscript 3 - RandomGenerated Map with Path from start to end -


i wanted randomly generate new 2d array (my map) , ensure has @ least 1 path start point end point.

right have static grid , have pathfinding algorithm working properly. question best approach develop this? easiest way create grid , iterate through ensure path open?

i think worst-case scenario randomly generate 1 , path find if false returned randomly generate another, inefficient. please help!


Comments

Popular posts from this blog

java - Intellij Synchronizing output directories .. -

git - Initial Commit: "fatal: could not create leading directories of ..." -