Random number generator for Cube |
by x3
on 02/05/2005 19:46, 3 messages, last message: 02/06/2005 22:41, 945 views, last view: 04/10/2024 07:44 |
|
how to seed the random number generator in Cube?
|
|
Board Index
|
|
#1: .. |
by sinsky
on 02/06/2005 11:42
|
|
I think Pushplay made or included a true random number generator in Quad for Sludge (Sludge is a Cube map generator that comes with Quad). But I may be wrong about some, or all of it, as usual, so check it out yourself.
reply to this message
|
|
#2: Re: .. |
by pushplay
on 02/06/2005 21:11, refers to #1
|
|
I used a rng called r250, which is well known and wicked fast. You can find it on google. It's pseudo random, but would be true random if you reseeded using some sensor outside the computer after each number generated. Mouse movements are good for that.
reply to this message
|
|
#3: .. |
by Rick-Ubuntu
on 02/06/2005 22:41
|
|
In my bot source code there are functions for random numbers(in bot_util.cpp)
reply to this message
|
|
|
Board Index
|
|