1998Q4/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: [MUD&#45;Dev] Re: AFAP: As fast as possible, non linear... -->
<!--X-From-R13: "dhmnu Mfbsgubzr]" <dhmnuNfbsgubzr.arg> -->
<!--X-Date: Wed, 16 Dec 1998 04:29:35 &#45;0800 -->
<!--X-Message-Id: 001601be28f0$65924760$a4066520@k6 -->
<!--X-Content-Type: text/plain -->
<!--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:quzah#softhome,net">
</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>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
<br clear=all><hr>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->

Date:&nbsp;
[&nbsp;<a href="msg00973.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00975.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00970.html">Previous</a>
&nbsp;|&nbsp;<a href="msg01055.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00974">Author</A>
&nbsp;|&nbsp;<A HREF="#00974">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00974">Thread</A>
&nbsp;]

<!--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>: &lt;<A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A>&gt;</LI>
<LI><em>Subject</em>: [MUD-Dev] Re: AFAP: As fast as possible, non linear...</LI>
<LI><em>From</em>: "quzah [softhome]" &lt;<A HREF="mailto:quzah#softhome,net">quzah#softhome,net</A>&gt;</LI>
<LI><em>Date</em>: Wed, 16 Dec 1998 04:34:10 -0800</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>
From: Mik Clarke &lt;mikclrk#ibm,net&gt;
Date: Tuesday, December 15, 1998 3:56 PM
Subject: [MUD-Dev] Re: AFAP: As fast as possible, non linear...


&gt;quzah [softhome] wrote:

[snipped would-be maze maker]
&gt;&gt; That about does it. The only thing I don't like about it is that
&gt;&gt; that I have a crappy way of getting the new coords for the next
&gt;&gt; recursive call. I'm currently using:
&gt;&gt; 
&gt;&gt;    mazePunch( number_range(0,9), number_range(0,9), FALSE );
&gt;
&gt;Thinking about it, I'm not convinced that your algorythm will always
&gt;generate a solvable maze.  Condiser:
&gt;
&gt; A-O-O-O O-O
&gt;   | | | | |
&gt;   O-O-O O-O
&gt;   |     | 
&gt;   O-O O-O-O
&gt;   | | | | |
&gt;   O-O O-O-O-B
&gt;
&gt;I think this would meet your loop exit crietria (used = 100), but it is
&gt;not possible to get from A to B.  This could pose something of a problem
&gt;for your players...
&gt;
&gt;Mik

If the cell was empty, and all its neighbors were empty, and it was not
the very first call to the function, it was supposed to not increment the
count and skip to another cell, to avoide the above. However, it sucked.
For some reason I cannot tell, it was making one way exits. I scrapped
that idea and am working on another variant, which I'm liking a lot more.

I should just give it up and grab someone elses code, but it wouldn't be
as fun (besides, then I wouldn't have anything to do). I'm liking this
method better, as it stores much less info. (Only 1/4th the data, though
I have dropped the size of the maze to 8x8x? instead of 10x10x?) Though
it could easily scale up to 16x16x? with a simple variable size change.

But yeah, it was making pockets, one way doors (which would be fun, but
it's not what I had in mind), and, well, it sucked. The 'count' was a
major problem. I can only guess as to why it was one way exiting.

Quzah.




</PRE>

<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00973.html">[MUD-Dev] Re: Introduction</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00975.html">[MUD-Dev] Re: MUD Design doc (long)</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00970.html">[MUD-Dev] Re: AFAP: As fast as possible, non linear...</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg01055.html">[MUD-Dev] Re: AFAP: As fast as possible, non linear...</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00974"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00974"><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: Graphic design, client questions</STRONG>, <EM>(continued)</EM>
<ul compact>
<LI><strong><A NAME="01000" HREF="msg01000.html">[MUD-Dev] Re: Graphic design, client questions</A></strong>, 
Caliban Tiresias Darklock <a href="mailto:caliban#darklock,com">caliban#darklock,com</a>, Fri 18 Dec 1998, 21:21 GMT
</LI>
</ul>
</LI>
<LI><strong><A NAME="00978" HREF="msg00978.html">[MUD-Dev] Graphic design, client questions</A></strong>, 
Thinus Barnard <a href="mailto:thinus_barnard#bigfoot,com">thinus_barnard#bigfoot,com</a>, Thu 17 Dec 1998, 08:50 GMT
<UL>
<LI><strong><A NAME="00989" HREF="msg00989.html">[MUD-Dev] Re: Graphic design, client questions</A></strong>, 
Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Fri 18 Dec 1998, 00:52 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00970" HREF="msg00970.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 15 Dec 1998, 12:30 GMT
<UL>
<li>&lt;Possible follow-up(s)&gt;<br>
<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>
</UL>
</LI>
</UL></BLOCKQUOTE>

</ul>
<hr>
<center>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
</center>
<hr>
</body>
</html>