From: pat eyler Date: 2004-12-10T07:25:19+09:00 Subject: Re: Duck images i=1;loop{puts"\e[2J\e[H%11s\n %8s(*)____,\n%10s` =~~/\n#{'~^~'[i%2,2]*9}"%['_',i&1>0?'<':'Quack! >','('];i+=sleep 1} which wc says is 116 characters -pate On Thu, 9 Dec 2004 16:35:39 +0900, Bill Kelly wrote: > From: "trans. (T. Onoma)" > > On Wednesday 08 December 2004 08:57 pm, Dave Burt wrote: > > | > > | 122 > > | i=1;loop{puts"\e[2J\e[0;0H#{' '*10}_\n %8s(*)____,\n#{' '*9 > > | }(` =~~/\n#{'~^~'[i%2,2]*9}"%(i&1>0?'<':'Quack! >');i+=sleep 1} > > > > Holy smokes! This has to be the tap out. Look how dense that thing is! Nice > > job, Dave! > > A minor tweak to the ANSI/VT100 codes... the 0;0 is surpufluous... > > 119 > i=1;loop{puts"\e[2J\e[H#{' '*10}_\n %8s(*)____,\n#{' '*9 > }(` =~~/\n#{'~^~'[i%2,2]*9}"%(i&1>0?'<':'Quack! >');i+=sleep 1} > > > Regards, > > Bill > >