Thursday, October 1, 2009

Nostalgic: Wrote this when I was 15 and very bored

#define p(r, s, t, u) printf( "%s%s%s%s\n",r,s,t,u)
typedef char b;b E[]="\E[2J";b B[]="__\n \\ ).( `\n '( v )"
;b A[]=" @@@\n @. .@\n @\\=/@\n .- -.\n /(.|.)\\";main
(){b C[]="\n \\ ).( /\n '( v )`";b D[]="\n \\|/\n (|)\n"
" '-`\n";for(;; ){p(E,A,C, D);sleep(1);p(E,A,B,D);sleep(1);}}