Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: Super Nibbles

by BrowserUk (Patriarch)
on Nov 14, 2005 at 22:14 UTC ( [id://508425]=note: print w/replies, xml ) Need Help??


in reply to Re: Super Nibbles
in thread Super Nibbles

Two comments:

  1. You seem to have lost the MainLoop; from your code during pasting?
  2. This is now so ludicrously fast that death is near instantaneous.

    If you survive the first speed boost, you surely won't the second.

    But hey! It sure is fun tryin' :)


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Replies are listed 'Best First'.
Re^3: Super Nibbles
by eric256 (Parson) on Nov 15, 2005 at 00:01 UTC

    Indeed I did loose the main loop. The speed is realy that fast? Its just perfect on mine. Must be something about the timing in Tk::After....guess i'll go read some documentation. Thanks for the feed back. BTW did the first version work better speed wise?


    ___________
    Eric Hodges $_='y==QAe=e?y==QG@>@?iy==QVq?f?=a@iG?=QQ=Q?9'; s/(.)/ord($1)-50/eigs;tr/6123457/- \/|\\\_\n/;print;

      I didn't try the first version, but this one is quite playable until you get the speed boost at which point, if you are heading towards a nearby edge, your dead.

      If your lucky enough to be close to an edge and facing the other way, you might survive if your tail isn't too long, but should you hit a second speed boost whilst the first is in effect, there is just a red blur and it's all over.


      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://508425]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2024-04-25 15:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found