Simple Path Finding

A best-first search path finding algorithm done in Flash Actionscript in a tile-based environment. Use the mouse left button to turn the tiles into walls and move the target (yellow) and avatar (red) around the tiles. Note that the algorithm does not find the shortest path, but the speed makes up for everything.