05-03-2003, 12:03 AM
Make a random number generator that doesn't use RND... Have Fun!
Random Numbers
|
05-03-2003, 12:03 AM
Make a random number generator that doesn't use RND... Have Fun!
05-03-2003, 12:48 AM
Crappy but working
Code: DECLARE FUNCTION MyRandom% (Bottom%, Top%)
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio underBASIC, homegrown musicians [img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
05-03-2003, 01:50 AM
Interesting... but it is a pattern. If you could make it start in the a different place that would be cool.
05-03-2003, 02:43 AM
Code: DEFLNG A-Z (QBNews, Volume 2, Number 1 - February 28, 1991)
05-03-2003, 02:59 AM
Given a certain sequence of numbers [S], it has so far been difficult to create another two sequences [S1] and [S2] that represent the first sequence and a decoder with C being at its maximum in:
length[S] = length[S1] + length[S2] + C Another difficult problem would be to find a sequence [S]. where sequence [S1a] and decoder [S2a] are the only two possible solutions to length[S] = length[S1] + length[S2] + C. So, making a "true" random number sequence (one without any pattern) is really hard if not impossible. :")
Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."
Visit www.neobasic.net to see rubbish in all its finest.
05-03-2003, 04:32 AM
I think Plasma357's works!
Edit: Heres one that picks a number 1 through 100... Code: CLS
05-03-2003, 09:29 AM
Quote:So, making a "true" random number sequence (one without any pattern) is really hard if not impossible. :") Don't crack your head, RND uses patterns too. At least in QB.
img]http://usuarios.vtr.net/~disaster/sigs/annoyizer.php[/img]
05-04-2003, 12:46 AM
I hear that nuclear decay can produce true random numbers somehow... anybody got a nuke in their backyard? Just hook it up to a COM port and write a QB app... :wink:
05-05-2003, 09:56 AM
Quote:I hear that nuclear decay can produce true random numbers somehow... anybody got a nuke in their backyard? Just hook it up to a COM port and write a QB app... :wink: Nope. Nuclear decay means in itself a patterned decay. ie: Val=Val-Val/2 BTW, val would be you elemental lifespan. Find "HalfLife" in the dictionary.
05-06-2003, 05:05 AM
|
« Next Oldest | Next Newest »
|