Article View: comp.editors
Article #2796Re: REPOST: editor.101
From: Anthony Howe
Date: Wed, 12 Jun 1991 14:49
Date: Wed, 12 Jun 1991 14:49
12 lines
976 bytes
976 bytes
>/* rcarter@wpi.wpi.edu */ /* Amazing */ /* Joseph H. Allen */
>int a[1817];main(z,p,q,r){for(p=80;q+p-80;p-=2*a[p])for(z=9;z--;)q=3&(r=time(0)
>+r*57)/7,q=q?q-1?q-2?1-p%79?-1:0:p%79-77?1:0:p<1659?79:0:p>158?-79:0,q?!a[p+q*2
>]?a[p+=a[p+=q]=q]=q:0:0;for(;q++-1817;)printf(q%79?"%c":"%c\n"," #"[!a[q-1]]);}
Wow. A maze generator. Is it yours?
--
ant@mks.com Anthony C Howe
Mortice Kern Systems Inc. 35 King St. N., Waterloo, Ontario, Canada, N2J 6W9
"Fate favors fools, small children, and ships named Enterprise" - Riker
Technical Details
Message-ID:
<1991Jun12.144916.14419@mks.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watmath!mks.com!antReferences:
<1991Jun4.155657.4357@mks.com> <1991Jun11.195732.25500@wpi.WPI.EDU>Show Full Headers
Complete Article Headers
Newsgroups: comp.editors Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watmath!mks.com!ant From: ant@mks.com (Anthony Howe) Subject: Re: REPOST: editor.101 Date: Wed, 12 Jun 91 14:49:16 GMT Message-ID: <1991Jun12.144916.14419@mks.com> Organization: Mortice Kern Systems, Waterloo, Ontario, CANADA References: <1991Jun4.155657.4357@mks.com> <1991Jun11.195732.25500@wpi.WPI.EDU>