Maze Generator

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
1,486
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Nov 14, 2008

My Maze Generator. It uses the hunt and kill algorithm, which is similar to the recursive backtracker only it does not stack but rather scans the maze for a usable cell. It is written in Java as an applet. I disabled the loading screen and slowed down the generation process for this video.

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (RyanJW001)

  • this is awesome! is there anyway i could download it from you? i've been trying to learn java but there's alot of stuff tutorials don't tell you like WHY did i just put that there? i have noi dea what that does? so i could do good looking at how you scripted it.

  • @clockwise16912 Sorry about the late response. I don't actually have the source posted anywhere, but I don't think that it'd be the best for learning from anyway. The list containing the maze grid is defined as a recursive interface that is essentially a stack. I later wrote a new one that actually uses arrays for more efficient code. This one was written before I learned how to use arrays or mutation. The best way to learn, at least for me was to just take things one step at a time.

  • You would want to learn either swing or applets to draw things, from there it's just a matter of messing around with things and using google to try and learn what you are looking for. If you want to learn about unexplained lines of code, try googling the methods called or changing the variables around. The point is, look at smaller bits of code. Trying to read and understand even a few thousand lines of code can be hell, even if you are know what individual lines do.

Video Responses

This video is a response to Maze Programming Challenge
see all

All Comments (6)

Sign In or Sign Up now to post a comment!
  • Very impressive!

    Could you post your code?

  • Simply awesome :)

  • nice!

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more