<!-- MHonArc v2.4.4 --> <!--X-Subject: [MUD-Dev] Re: AFAP: As fast as possible, non linear... --> <!--X-From-R13: nyrkbNovtsbbg.pbz (Oyrk Aera) --> <!--X-Date: Tue, 15 Dec 1998 02:01:51 -0800 --> <!--X-Message-Id: 367822bf.66134636@neptune --> <!--X-Content-Type: text/plain --> <!--X-Reference: 002001be272d$64aca440$a3066520@k6 --> <!--X-Reference: 36758562.AF36146D#ibm,net --> <!--X-Head-End--> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html> <head> <title>MUD-Dev message, [MUD-Dev] Re: AFAP: As fast as possible, non linear...</title> <!-- meta name="robots" content="noindex,nofollow" --> <link rev="made" href="mailto:alexo#bigfoot,com"> </head> <body background="/backgrounds/paperback.gif" bgcolor="#ffffff" text="#000000" link="#0000FF" alink="#FF0000" vlink="#006000"> <font size="+4" color="#804040"> <strong><em>MUD-Dev<br>mailing list archive</em></strong> </font> <br> [ <a href="../">Other Periods</a> | <a href="../../">Other mailing lists</a> | <a href="/search.php3">Search</a> ] <br clear=all><hr> <!--X-Body-Begin--> <!--X-User-Header--> <!--X-User-Header-End--> <!--X-TopPNI--> Date: [ <a href="msg00968.html">Previous</a> | <a href="msg00970.html">Next</a> ] Thread: [ <a href="msg00966.html">Previous</a> | <a href="msg00967.html">Next</a> ] Index: [ <A HREF="author.html#00969">Author</A> | <A HREF="#00969">Date</A> | <A HREF="thread.html#00969">Thread</A> ] <!--X-TopPNI-End--> <!--X-MsgBody--> <!--X-Subject-Header-Begin--> <H1>[MUD-Dev] Re: AFAP: As fast as possible, non linear...</H1> <HR> <!--X-Subject-Header-End--> <!--X-Head-of-Message--> <UL> <LI><em>To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI> <LI><em>Subject</em>: [MUD-Dev] Re: AFAP: As fast as possible, non linear...</LI> <LI><em>From</em>: <A HREF="mailto:alexo#bigfoot,com">alexo#bigfoot,com</A> (Alex Oren)</LI> <LI><em>Date</em>: Tue, 15 Dec 1998 10:01:33 GMT</LI> <LI><em>Reply-To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI> </UL> <!--X-Head-of-Message-End--> <!--X-Head-Body-Sep-Begin--> <HR> <!--X-Head-Body-Sep-End--> <!--X-Body-of-Message--> <PRE> On Mon, 14 Dec 1998 21:38:42 +0000, Mik Clarke wrote: } Hmmm. A few years ago (quite a few) I had a maze generator running on a } lowly 0.7Mhz Dragon micro-computer, written in basic. Deja-vu... Done the same algorithm on a TRS CoCo (very similar to the Dragon, 0.895MHz overclocked to x2). } The baic algorythm was to generate } the maze by moving from the end of the path to a randomly picked } adjacent cell that the maze didn't already reach. When it got stuck (a } square where all adjacent squares were already on the path) it would } backup to find a cell that it could branch from. Use a multidimensional array representing the cells. For each cell, keep a "visited" flag and the direction you reached it from (for backtracking). Initially, there are no connections between the cells. When you move from a cell to an adjacent one a connection is made. Have fun, Alex. </PRE> <!--X-Body-of-Message-End--> <!--X-MsgBody-End--> <!--X-Follow-Ups--> <HR> <!--X-Follow-Ups-End--> <!--X-References--> <UL><LI><STRONG>References</STRONG>: <UL> <LI><STRONG><A NAME="00963" HREF="msg00963.html">[MUD-Dev] AFAP: As fast as possible, non linear...</A></STRONG> <UL><LI><EM>From:</EM> "quzah [softhome]" <quzah#softhome,net></LI></UL></LI> <LI><STRONG><A NAME="00966" HREF="msg00966.html">[MUD-Dev] Re: AFAP: As fast as possible, non linear...</A></STRONG> <UL><LI><EM>From:</EM> Mik Clarke <mikclrk#ibm,net></LI></UL></LI> </UL></LI></UL> <!--X-References-End--> <!--X-BotPNI--> <UL> <LI>Prev by Date: <STRONG><A HREF="msg00968.html">[MUD-Dev] Re: AFAP: As fast as possible, non linear...</A></STRONG> </LI> <LI>Next by Date: <STRONG><A HREF="msg00970.html">[MUD-Dev] Re: AFAP: As fast as possible, non linear...</A></STRONG> </LI> <LI>Prev by thread: <STRONG><A HREF="msg00966.html">[MUD-Dev] Re: AFAP: As fast as possible, non linear...</A></STRONG> </LI> <LI>Next by thread: <STRONG><A HREF="msg00967.html">[MUD-Dev] Re: AFAP: As fast as possible, non linear...</A></STRONG> </LI> <LI>Index(es): <UL> <LI><A HREF="index.html#00969"><STRONG>Date</STRONG></A></LI> <LI><A HREF="thread.html#00969"><STRONG>Thread</STRONG></A></LI> </UL> </LI> </UL> <!--X-BotPNI-End--> <!--X-User-Footer--> <!--X-User-Footer-End--> <ul><li>Thread context: <BLOCKQUOTE><UL> <LI><STRONG>[MUD-Dev] Re: AFAP: As fast as possible, non linear...</STRONG>, <EM>(continued)</EM> <ul compact> <LI><strong><A NAME="00974" HREF="msg00974.html">[MUD-Dev] Re: AFAP: As fast as possible, non linear...</A></strong>, quzah [softhome] <a href="mailto:quzah#softhome,net">quzah#softhome,net</a>, Wed 16 Dec 1998, 12:29 GMT </LI> <LI><strong><A NAME="01055" HREF="msg01055.html">[MUD-Dev] Re: AFAP: As fast as possible, non linear...</A></strong>, quzah [softhome] <a href="mailto:quzah#softhome,net">quzah#softhome,net</a>, Tue 29 Dec 1998, 08:27 GMT </LI> </ul> </LI> <LI><strong><A NAME="00963" HREF="msg00963.html">[MUD-Dev] AFAP: As fast as possible, non linear...</A></strong>, quzah [softhome] <a href="mailto:quzah#softhome,net">quzah#softhome,net</a>, Mon 14 Dec 1998, 06:41 GMT <UL> <LI><strong><A NAME="00966" HREF="msg00966.html">[MUD-Dev] Re: AFAP: As fast as possible, non linear...</A></strong>, Mik Clarke <a href="mailto:mikclrk#ibm,net">mikclrk#ibm,net</a>, Tue 15 Dec 1998, 04:05 GMT <UL> <LI><strong><A NAME="00969" HREF="msg00969.html">[MUD-Dev] Re: AFAP: As fast as possible, non linear...</A></strong>, Alex Oren <a href="mailto:alexo#bigfoot,com">alexo#bigfoot,com</a>, Tue 15 Dec 1998, 10:01 GMT </LI> </UL> </LI> <LI><strong><A NAME="00967" HREF="msg00967.html">[MUD-Dev] Re: AFAP: As fast as possible, non linear...</A></strong>, Dan Shiovitz <a href="mailto:dbs#cs,wisc.edu">dbs#cs,wisc.edu</a>, Tue 15 Dec 1998, 06:18 GMT </LI> <LI><strong><A NAME="00968" HREF="msg00968.html">[MUD-Dev] Re: AFAP: As fast as possible, non linear...</A></strong>, Jon Leonard <a href="mailto:jleonard#divcom,slimy.com">jleonard#divcom,slimy.com</a>, Tue 15 Dec 1998, 07:27 GMT </LI> <LI><strong><A NAME="00972" HREF="msg00972.html">[MUD-Dev] Re: AFAP: As fast as possible, non linear...</A></strong>, Mik Clarke <a href="mailto:mikclrk#ibm,net">mikclrk#ibm,net</a>, Tue 15 Dec 1998, 23:36 GMT </LI> </UL> </LI> <LI><strong><A NAME="00960" HREF="msg00960.html">[MUD-Dev] small dev-mud invite</A></strong>, Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Sun 13 Dec 1998, 23:28 GMT </LI> </UL></BLOCKQUOTE> </ul> <hr> <center> [ <a href="../">Other Periods</a> | <a href="../../">Other mailing lists</a> | <a href="/search.php3">Search</a> ] </center> <hr> </body> </html>