Signature games
From Bart Dopheide <gam...@dbhf.dhs.org>
· alt.ascii-art
· 20 Nov 2003 12:53 · View full thread
· report
Hi,
I use C-code to let ppl know I am Gamma (=Gamma Ain't My Main Acronym) in
my signature. It's (nerd) hangman (input from /bin). It's shame it >72
chars wide, though.
#include <glob.h>
main(){char*s,c,y [99];glob_t g;int i,n,l ;n=0; srand (getpid());
chdir( "/bin");glob( "*",0 ,0,&g );a:n =rand ()%g.gl_pathc
;;s=g. gl_pathv [n]; for( l=0;s[l];++l) y[l]='.';n=0; y[l]= 0;;;
printf ("%s\n" ,y); b:c= getchar();if( isgraph(c)){ for(i =0;i
<l;++i )if( c==s[i]&&y[i] =='.' ){++n ;y[i] =s[i] ;/*#######*/}
printf("%.*s\n",l ,y); if(n ==l){ puts( "Well done! \n"); goto
a;}}goto b;}/*##/ Hang man! !!!By Gamma input from: /bin/ :)*/
Is this considered ascii-art?
Cheers,
Gamma.
Original message headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f996b,1be8daf5d9c34d6f,start X-Google-Attributes: gidf996b,public X-Google-ArrivalTime: 2003-11-20 04:53:33 PST Path: archiver1.google.com!news2.google.com!fu-berlin.de!fr.ip.ndsoftware.net!212.27.32.7.MISMATCH!proxad.net!proxad.net!skynet.be!213.51.129.3.MISMATCH!newshub1.home.nl!home.nl!dbhf.dhs.org!gamma From: Bart Dopheide <gam...@dbhf.dhs.org> Newsgroups: alt.ascii-art Subject: Signature games Date: Thu, 20 Nov 2003 13:53:31 +0100 Organization: @Home Benelux Lines: 22 Message-ID: <Pin...@smokey.dbhf.net> Reply-To: csg...@iwinet.rug.nl NNTP-Posting-Host: cc24858-a.groni1.gr.home.nl Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: news3.tilbu1.nb.home.nl 1069332812 3477 217.122.216.226 (20 Nov 2003 12:53:32 GMT) X-Complaints-To: abu...@home.nl NNTP-Posting-Date: Thu, 20 Nov 2003 12:53:32 +0000 (UTC) X-X-Sender: gam...@smokey.dbhf.net Xref: archiver1.google.com alt.ascii-art:544
Related ASCII art in the Gallery
Explore these categories from our collection of 11,000+ artworks:
_________
/___ ___\
//@@@\ /@@@\\
\\@@@/ \@@@//
\___ " ___/
| - |
\_/ jrjc ______
/|_||_\`.__
( _ _ _\
=`-(_)--(_)-'
hjw .="=. _/.-.-.\_ ( ( o o ) ) |/ " \| \'---'/jgs /`"""`\\
_________ | _____ |\ | |\ ___| | \ | | | | | | | | |___| | | \ | |____\| | \|_________| Andy Johnson
__ _ o'')}____// `_/ ) (_(_/-(_/
[>====]
Make your own ASCII art
Turn images, text or 3D into ASCII, or draw your own – right in your browser.
About this message.
This message was posted publicly to the newsgroup
alt.ascii-art
in 2003 and is mirrored here unchanged as part of the Historic Archives – only email addresses are masked.
The artwork and text belong to their original authors: if you copy a piece, keep the artist's initials or signature intact and credit them where you can.
Are you the author? Contact us to get your posts attributed, connected to your artist profile, or removed.
Report this message
Help us keep the archive clean and accurate. Reports are reviewed by a person – nothing is changed automatically.