Site hosted by Angelfire.com: Build your free website today!

aMAZing



Home

As you could tell from its corny name, this little program is an recursive maze navigator. Because only 8 lines of the code actually controls the path followed, this program represents a perfect application of recursion. The "victim" of the maze follows a path until it reaches a dead end. It then returns to the last place where it was able to move, an tries an alternative path to escaping. Try to write this iteratively and you will appreciate the beauty of recursion. The graphics I whipped up in paint and used the [SDL] API for blitting.

Static Void
C++
Java

SO 2001

First Competition
Research
 




Downloads:

FAQ Amazing.zip Required Dlls.zip