Qbasicnews.com
1 key challenge revisited - Printable Version

+- Qbasicnews.com (http://qbasicnews.com/newforum)
+-- Forum: QbasicNews.Com (http://qbasicnews.com/newforum/forum-3.html)
+--- Forum: Challenges (http://qbasicnews.com/newforum/forum-10.html)
+--- Thread: 1 key challenge revisited (/thread-8179.html)

Pages: 1 2 3 4


1 key challenge revisited - whitetiger0990 - 10-19-2005

Neither of those work for me. The graphics one is still broken the same way and the text one. well nothing shows up. (but when I hit esc it says "q u i t y / n")



...wait I got it! right before the first DO I put "updateon=timer"


1 key challenge revisited - urger - 10-19-2005

Hmm, I wonder why you needed to do that
Updateon should initalize to 0. Since your timer would always evaluate to higher then 0 the update screen code should be tiggered. What does updateon equal before you set it to equal timer?


1 key challenge revisited - j2krei08 - 10-19-2005

Thanks, but I hardly consider it a gem :lol: smilies are back!

I made it fast because anything slower is kinda boring. Maybe I'll put a skill level on it.


1 key challenge revisited - speedlemon - 10-20-2005

i guess if it's meant to be fast like that... im just saying the way it is now is almost unplayable.


1 key challenge revisited - Dio - 10-20-2005

i first thought it was a way to test how fast someone’s computer was. like seeing how many cycles it could do in a second and thru some formula do something or other. geez im a lazy typist.

like this:
Code:
stimer = timer
for i = 0 to 10000000000
    if timer > stimer +1 then :ii = i:exit for
    if timer < stimer then stimer = 86400 - stimer: stimer = 0 - stimer
next
? ii
sleep

hence, the bigger the number, the faster the computer.

edit: regarding my other post, i added a safety net for midnight


1 key challenge revisited - Pyrokid - 10-30-2005

Quote:
Code:
stimer = timer
for i = 0 to 10000000000
    if timer > stimer +1 then :ii = i:exit for
    if timer < stimer then stimer = 86400 - stimer: stimer = 0 - stimer
next
? ii
sleep
That isnt really needed in fb it would probably be better if you used SLEEP ms


1 key challenge revisited - Z!re - 11-13-2005

Well.. challenge is pretty much over, if you have any entries that you havent sent in for some weird reason, do so now..