Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

a small, quick diversion

by teamster_jr (Curate)
on Jun 23, 2003 at 16:04 UTC ( [id://268217]=obfuscated: print w/replies, xml ) Need Help??

Again a vt100 watch only game - most of these could be hacked to be playable, but i like to watch *cough*.
I don't think this has been done here, but apologies if it's old news.
$m=2;$x=$y=4;$n=$|=1;print"\ec";$f.="\e[$_;20H|\n"for(1..11);{printf"$ +f \e[$y;$x\H \e[%d;%dH*\e[$l;H \e[%dH\e[7m \e[m\e[$r;40H \e[%d;40H",$y+= +$n *=$y<2|$y>10?-1:1,$x+=$m*=$x<3|$x>37?-1:1,$l+=($c=$l-($m>0?6:$y))?$c>0 +?- 1:1:0,$r+=($c=$r-($m<0?6:$y))?$c>0?-1:1:0,select$q,$q,$q,0.1;redo}

not super clever, but IMHO quite fun.
enjoy
alex
ps. no, they never finish.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: obfuscated [id://268217]
Approved by sschneid
Front-paged by broquaint
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-04-19 10:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found