Computer Science Canada

blips

Author:  ecookman [ Sun Dec 14, 2008 2:22 pm ]
Post subject:  blips

since i can't get my countdown to Christmas to work and nobody is helping (i tried ruby and i couldn't get it to work.. i ma talking about the turing one)
i made this

Turing:

var a : int
var b : int
loop
randint (a,100,20000)
randint (b,1,100)
sound (a,b)
end loop


go nuts

Author:  syntax_error [ Sun Dec 14, 2008 2:23 pm ]
Post subject:  RE:blips

The point being?

Author:  ecookman [ Sun Dec 14, 2008 2:39 pm ]
Post subject:  RE:blips

meeh something i made that people might like...and out of my sadness of the counter failure

Author:  dc116 [ Sun Dec 14, 2008 6:32 pm ]
Post subject:  RE:blips

I don't understand the purpose of your program. Is it for that game of yours?

Author:  ecookman [ Sun Dec 14, 2008 7:22 pm ]
Post subject:  RE:blips

lol no i just found out how to use the sound function and thought hmmm what happens if I put a loop into it along with a random sound...i thought it was cool

Author:  Parker [ Mon Dec 15, 2008 8:18 am ]
Post subject:  RE:blips

Kind of interesting I guess..but about the countdown, many people have tried to help Sad

Author:  SNIPERDUDE [ Mon Dec 15, 2008 12:54 pm ]
Post subject:  RE:blips

for the counter use mod for helping with the math and something under Time.~ for getting the current time and date. Just pseudo code to get an idea.

just remember simple time conversions:

24 h = 1d
60 m = 1h
60 s = 1m
1000 ms = 1s

Author:  ecookman [ Mon Dec 15, 2008 4:33 pm ]
Post subject:  RE:blips

errm thanks....wrong topic lol


and what is pseudo

Author:  SNIPERDUDE [ Mon Dec 15, 2008 9:55 pm ]
Post subject:  RE:blips

ummm, logic code, not specific to any language. Code made to be read by a human, not by a programming language.

Ex:
code:

if this happens
    do this

Author:  ecookman [ Mon Dec 15, 2008 9:57 pm ]
Post subject:  RE:blips

aah thanks


: