seeding the RandomNumGen

I’m just curious, what do you guys use to seed random numbers so that the numbers are different every time the game is played?

I usually use the current time. You can make it more complicated with other dynamic data and static data, e.g. the ip address of the client machine + time + …

Or you can use “random.” for example…

random.choice("-+")
> -
or
> +
random.uniform(0,1))
> 0
or
> .1-.9 #Numbers between 0 and 1
or
> 1

panda internal:
panda3d.org/apiref.php?page=RandomNumGen

python standard module:
docs.python.org/library/random.h … ule-random

Hmm. Interesting…