Maze generation algo

This is a discussion on Maze generation algo within the Game Programming forums, part of the General Programming Boards category; Stumbled upon this last night. We get a lot of questions about how to generate mazes. This site has a ...

  1. #1
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,596

    Maze generation algo

    Stumbled upon this last night.

    We get a lot of questions about how to generate mazes. This site has a very good algo on it.

    I will provide code for this and attach it here later.

    Here is the algo:

    http://www.mazeworks.com/mazegen/mazetut/index.htm

  2. #2
    I am he who is the man! Stan100's Avatar
    Join Date
    Sep 2002
    Posts
    361
    It's an interesting article, and quite advanced. Which leads me to believe anyone who needs such an article will be just as satisfied with the one at

    www.gametutorials.com

    that is, unless there is a rather large dos newb project going all the way

    Still, worth saving.
    Stan The Man. Beatles fan

    When I was a child,
    I spoke as a child,
    I thought as a child,
    I reasoned as a child.
    When I became a man,
    I put childish ways behind me"
    (the holy bible, Paul, in his first letter to the Cor. 13:11)

  3. #3
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,596
    The algo has nothing to do with DOS. I coded it last night and it works great. And it is not advanced at all; it is quite simple.

    Will post some DirectX code here in a bit.
    Last edited by VirtualAce; 08-03-2004 at 01:46 PM.

  4. #4
    BMJ
    BMJ is offline
    Banal internet user BMJ's Avatar
    Join Date
    Aug 2002
    Location
    Chicagoland
    Posts
    1,380
    Thanks for the link... I decided to write a simple raycaster for kicks-and-giggles and this is quite useful.

  5. #5
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,596
    Cool. Glad it helped.


  6. #6
    Registered User
    Join Date
    Feb 2006
    Posts
    11
    thanx for the link folks
    and thnx stan for inspiring me with the verses from the bible
    i am also growing and need to develop right???

  7. #7
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,596
    Um...I didn't post the link so you could bump this age old thread.

  8. #8
    ---
    Join Date
    May 2004
    Posts
    1,379
    hmmm... I thought this thread looked familiar.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Solving A Maze Using C Language!!!!
    By jonnybgood in forum C Programming
    Replies: 6
    Last Post: 11-08-2005, 11:15 AM
  2. Q: Recursion to find all paths of a maze
    By reti in forum C Programming
    Replies: 7
    Last Post: 11-26-2002, 08:28 AM
  3. My Maze Game --- A Few Questions
    By TechWins in forum Game Programming
    Replies: 18
    Last Post: 04-24-2002, 11:00 PM
  4. Algorithm to walk through a maze.
    By Nutshell in forum C Programming
    Replies: 30
    Last Post: 01-21-2002, 12:54 AM
  5. Maze game, complete with maze editor and an example maze!
    By Brian in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 01-20-2002, 02:27 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21