X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f996b,61cef3a4d5b80eac X-Google-Attributes: gidf996b,public X-Google-ArrivalTime: 2002-04-13 10:51:07 PST Newsgroups: alt.ascii-art From: Harry Mason Subject: Re: The Funky Fuzzball In: "Nuclear Fuzzball" References: <91EEC61D7planktonprince@207.115.63.150> Message-ID: User-Agent: slrn/0.9.7.2 (Linux) NNTP-Posting-Host: banshee.ecs.soton.ac.uk Date: 13 Apr 2002 18:48:54 GMT X-Trace: 13 Apr 2002 18:48:54 GMT, banshee.ecs.soton.ac.uk Lines: 28 Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!colt.net!newsfeed00.sul.t-online.de!t-online.de!skynet.be!skynet.be!peer.news.eu-x.com!server2.netnews.ja.net!news-spool.soton.ac.uk!news.ecs.soton.ac.uk!banshee.ecs.soton.ac.uk Xref: archiver1.google.com alt.ascii-art:16842 On Sat, 13 Apr 2002 12:40:48 +0100, CJRandall wrote: > vi's all right ... when you know how to use it > would you like to see vi solve an ascii maze ? > i have a .shar file which has code and macros > which will do that That sounds /nearly/ as bad as sed Sokoban. > maze.ansi.c > char*M,A,Z,E=40,J[80],T[3];main(C){for(M=J+E,*J=A=scanf("%d",& > C) ;-- E;J [E ]=M > [E ]= E) printf("._"); for(;(A-=Z=!Z) || (printf("\n|" > ) , A = 39 ,C -- > ) ; Z || printf (T ))T[Z]=Z[A-(E =A[J-Z])&&!C > & A == M [ A ] > |6<<11 ._._._._._._._._._._._._._._._._._._._ > | |_. ._._| |_._._. |_. | |_. |_. ._._| > |_. | | | |_. . |_._._._._. ._|_. | ._| > | . | | |_. |_| | | ._._._. |_. ._. | | > [nosig] [snip] How does that monstr^W program work? I can't make it produce nontrivial mazes. -- Harry Mason ("hjm200.ecs@soton@ac@uk" =~ tr/@./.@/)