X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f996b,8f5a1c02a21987e6 X-Google-Attributes: gidf996b,public X-Google-ArrivalTime: 2001-04-28 01:12:45 PST Path: newsfeed.google.com!newsfeed.stanford.edu!paloalto-snf1.gtei.net!news.gtei.net!enews.sgi.com!newshub2.rdc1.sfba.home.com!news.home.com!news1.rdc1.sdca.home.com.POSTED!not-for-mail Newsgroups: alt.ascii-art From: Faux_Pseudo@24.177.56.253 (Faux_Pseudo) Subject: Re: ascii art game! was: (Re: my first post feedback me please) References: <3evlOmz89lHXglLQy71DSQ1s0qdC@4ax.com> <3AE974E4.C1D7D6FC@homail.com> Reply-To: Faux_Pseudo@yahoo.com Message-ID: User-Agent: slrn/0.9.7.0 (Linux) Lines: 49 Date: Sat, 28 Apr 2001 08:12:44 GMT NNTP-Posting-Host: 24.177.56.253 X-Complaints-To: abuse@home.net X-Trace: news1.rdc1.sdca.home.com 988445564 24.177.56.253 (Sat, 28 Apr 2001 01:12:44 PDT) NNTP-Posting-Date: Sat, 28 Apr 2001 01:12:44 PDT Organization: Excite@Home - The Leader in Broadband http://home.com/faster Xref: newsfeed.google.com alt.ascii-art:5529 I program mostly in bash which is a scrip language found on all linux systems. It is not suited for that kind of work. it would best be done in something like perl or c as far as the algorithms go most any ascii-art faq will have a list of usable charicters and you can use one of those lists to start from. this is a sample script i only put about 8 minutes in but any bash user should be able to make out what the idea is. for char in $(cat $buffer | sed 's/\([[:print:]]\)/\ \1/g') ; do if [ ! $(echo $char | egrep [[:print:]] ) ] ; then echo "You have a invalid ascii char in your drawing" echo "Try it again" ; sleep 1 load_current_buffer fi done echo "You got it right" go_to_next_level_of_game ; exit 0 --(Once apon a time, in alt.ascii-art,)-- --(Kyle Baker said it like only they can.)-- > So is anybody going to try making that? Are you a programmer > Faux_Pseudo? Programming those algorithms seems like quite a task. I > don't even know how you would begin. What are some examples of what is > allowed in ascii-art that the program AI could actually do? Likewise > what is not? I know that a tab is not allowed, others? You see > ascii-art is so different to each artist. It would be very hard to say > this is what you can and can't do because each artist likes it to look > different. Does anybody have some set rules that would work, or that > program may never be. > > Kyle > -- --(UIN=66618055)-- --(tty1@faux.local_04:45_/home/faux)-- cat .sig GUI's are for slackers. ibpconf.sh 6.1 on freshmeat.net The easiest way to customize the command line. By Faux_Pseudo It's a damn poor mind that can only think of one way to spell a word. - Andrew Jackson