From: Jannis Harder Date: 2004-12-11T04:04:34+09:00 Subject: Re: [QUIZ] Learning Tic-Tac-Toe (#11) Am 10.12.2004 um 18:15 schrieb Brian Schr�der: > > Nice and colourfull. Do you use a compact sig creator program? > > Offtopic: Not a creator program.... an "universal" "color" "picture" sig ;) the first string in the sig is a base64ed b/w raw image (24*n pixel) every 4 pixel the sig inserts a blank pixel (the space between the letters) and every 24 a newline. example: "jp6i..." j>100011 p>101001 6>111010 i>100010 Cyan Mgnt Blue Yelw Grn Red jjjj jjpp pppp 6666 66ii iiii 1000 1110 1001 1110 1010 0010 # ### # # ### # # # The first line of >RUBY< ... "jp6iSZmkLp5ISZlEiW5C" >> >RUBY< "bp6siZmijp5CiZlCiW5CgAAChpbiiZYiiZZCi5aCZ2bs" |RUBY| |QUIZ| "Lp6oKZmobp5MaZlM6W5O4AAO7pjuaZgsbphMKZiIKW/o" /RUBY\ \RULZ/ Jannis Harder "Lp6oKZmoaZ5MaZlM7p5O6ZAO6ZjuaZgsaZhMKZiIKW/o".unpack("m")[0]. unpack("C*").map{|x|x.chr}.join.unpack("B*")[0].scan(/.{24}/){i=7 $&.scan(/..../){print"\e[3#{i-=1};1;40m ";$&.each_byte{ |z|print" #"[z-?0,1]*2}};puts"\e[0m"}