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

This Month's Specials

Air Assault Task Force- Save $8.00
Bronze- Save $10.00

   







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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old April 19th, 2001, 10:26 PM
DirectorTsaarx's Avatar

DirectorTsaarx DirectorTsaarx is offline
Major
 
Join Date: Dec 2000
Location: Northern Virginia, USA
Posts: 1,048
Thanks: 0
Thanked 0 Times in 0 Posts
DirectorTsaarx is on a distinguished road
Default Re: What are the odds of that??

Most computerized random-number generators use a complex formula that takes a "seed" value and comes up with a "pseudo-random" number. This "pseudo-random" number is then used as the seed for the next number in the sequence, etc. So, really, a random-number generator merely creates a randomized sequence of numbers; not only is every number equally likely to occur, if you run through the whole sequence, you will get a perfect distribution of those numbers (i.e., actual occurrences will exactly match predicted occurrences). Obviously, for any set of runs less than the full sequence of numbers, the distribution is not necessarily perfect; in fact, as the set of runs approaches the full sequence, the distribution becomes more "perfect" and therefore less "random".

A pseudo-random sequence can be implemented in hardware using a shift register and some exclusive-OR gates connected as a feedback loop for the shift register.
__________________
L++ Se+++ GdY $++ Fr C+++ Csc Sf Ai AuO M+ MpTM S Ss RRSHP+ Pw- Fq->Fq+ Nd+++ Rp G++ Mm++ Bb---
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 03:57 AM.


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