Original Usenet thread from alt.ascii-art, started 20 Nov 2003.
Signature games
alt.ascii-art
· 5 messages · 20 Nov 2003 - 22 Nov 2003
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.
Nakon sto sam otpio gutljaj zuje i odlozio bocu na stol, osjetio sam se
spremnim procitati sto je Thu, 20 Nov 2003 13:53:31 +0100 napisao Bart
Dopheide:
> Is this considered ascii-art?
I call it a nerd-art ;-))))
Serious - i wouldnt call ART something you camelize in javE...
See "Bring me to life" post by Anubis Yellowstar:
357...@posting.google.com
and flame it started....
--
___ Now Playing: A jebiga, nemrem uvijek...
\|/ .' '. \|/ -----------------------------------------------
--O--( o | o )--O-- Seb3k - Fuck The Police!
\ \ .-. / / Ponosni clan drustva RIBAR - Bongovi, piva,
\ '-U-' / glupo ponasanje, teska izbrijavanja, slike,
\/beelj\/ sovinizam... www.drustvoribar.netfirms.com
On Thu, 20 Nov 2003 13:53:31 +0100, Bart Dopheide <gam...@dbhf.dhs.org> wrote: > > #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/ :)*/ Very cool. BTW, *nix users can use indent(1) to unravel this. > Is this considered ascii-art? I would, in this case. But Seb3k has a point. -- Mark Hill <use...@mark.ukfsn.org> (Yahoo address not read) GPG KeyID: 4A3B58AC
Seb3k wrote: > Bart Dopheide: > > > Is this considered ascii-art? > > I call it a nerd-art ;-)))) And ascii art isn't nerd-art? :) -- __ __ _____ _____ ______ __ _ _ _____ __ ||| \ \ ) )/ / \|| | \ \ / / \ \ | \ | || | / / \| ) \ ||.. \ \/ /| |_/| | |_/ /| | | || \ | || || | / \ |.PP. \ / | | \| | | \ \| | | || |\_\| || || | / /\ \ _\/___ \_( \_\__/||_| \_\\_\__/_/ |_| |_||_| \_\__/|(_( \_\ |____ A S C I I A R T C H A T http://www.ludd.luth.se/~vk/ ___|
Nakon sto sam otpio gutljaj zuje i odlozio bocu na stol, osjetio sam se spremnim procitati sto je Fri, 21 Nov 2003 23:02:46 +0000 napisao Veronica Karlsson: >> I call it a nerd-art ;-)))) > > And ascii art isn't nerd-art? :) Blast! My cover is blown ;-))) ObA: A *blast* about to happen... , _,,..:+. FFFRSSSST .' ' +---+ | | | | _.+ +._ .-' `-. / \ / \ | ACME | | BOMB | \ / \ / `. .' `-..___..-' -- ___ Now Playing: Marduk - Panzer Division Marduk \|/ .' '. \|/ ----------------------------------------------- --O--( o | o )--O-- Seb3k - Fuck The Police! \ \ .-. / / Ponosni clan drustva RIBAR - Bongovi, piva, \ '-U-' / glupo ponasanje, teska izbrijavanja, slike, \/beelj\/ sovinizam... www.drustvoribar.netfirms.com
About this thread.
These messages were posted publicly to the newsgroup
alt.ascii-art
in 2003 and are 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 one of the authors? 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.