Created
February 23, 2010 14:59
-
-
Save rubyworks/312266 to your computer and use it in GitHub Desktop.
Oneliner - Santa Claus
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
loop{7.times{|i|puts"\e[2J\e[0;3H_...\n / _ '.\n|.'(@@@@@)\n(*)/ %s \\ | |
| .o. | \n ( %s ) %s"%[i==5?"- -":"e e",(i+3)%7<4?"=":"o",i>0?"-"+ | |
(" Ho"*i)[0,9]+"!":""];puts" ( )\n"*2," ( )\n"*3,' "-"'; | |
sleep([5,3,3,4,5,1,4][i]/6.0)}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment