.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

BCT Commander- Save $6.00
World Supremacy- Save $10.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #30  
Old May 9th, 2001, 03:20 PM

Krakenup Krakenup is offline
Corporal
 
Join Date: Jan 2001
Location: Newport News, VA
Posts: 125
Thanks: 0
Thanked 0 Times in 0 Posts
Krakenup is on a distinguished road
Default Re: Could someone explain:

quote:
Originally posted by askan:
This is because random numbers on computers aren't really random. There is just a huge lookup table full of numbers and each one comes out in order. The 'seed' is what is used to work out where you start in that table.

If you use the same 'seed' you'll always get the same numbers in the same order.


Usually, it's not really a table. Most Random Number Generators perform a series of mathematical operations on the seed, generating a "random" number and a new seed. So if you start with the same seed, as askan said, you get the same series of random numbers. Tables of random numbers exist, but, if you are using billions of them, it's a lot easier to generate them on the fly.
Reply With Quote
 

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 07:31 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.