Thread Tools
Old November 23, 2001, 09:43   #1
redstar1
Civilization III PBEMCivilization III MultiplayerPtWDG LegolandCivilization III Democracy GameTrade Wars / BlackNova TradersInterSite Democracy Game: Apolyton TeamNationStates
Prince
 
redstar1's Avatar
 
Local Time: 18:22
Local Date: October 31, 2010
Join Date: Apr 2001
Location: Belfast, Northern Ireland
Posts: 753
Random numbers
Not sure if this has been brought up before but there seems to be a lot of discussion about the 'random' element of combat. There is no such thing as a 'random' number. There are only methods of producing random numbers.

Taking a well talked about Civ3 example.

Egyptian Chariot loses to Greek Warrior
....
player reloads
....
Egyptian Chariot loses to Greek Warrior
....
player reloads
....
Egyptian Chariot loses to Greek Warrior
....
player reloads
player moves chariot 1 square or moves onto next turn
....
Egyptian Chariot trounces Greek Warrior



Whats most likely happening here is that there is some random element involved. Random numbers are usually generated using a seed number. Say you use 5 as the seed number. Everytime you do you will get the same sequence of random numbers. (This is assuming a simplistic random number generator).

This means that after every reload the number at the top of the random number stack is the same and therefore has the same effect on the outcome of battle. When the player moves the unit and another turn passes, other functions have used random numbers. Therefore the next time battle comes around there is a difference number at the top of the stack. ergo different outcomes.

Now what we can conclude is that either the random number generator is flawed, or that the random element is given too much sway in CIV3.

Maybe someone from Firaxis could comment?


Just my theory anyway.

Dave
redstar1 is offline  
Old November 23, 2001, 09:55   #2
zapperio
Warlord
 
Local Time: 17:22
Local Date: October 31, 2010
Join Date: Nov 2001
Location: Halifax, NS
Posts: 150
You may be interested in taking a look at the last page in random gen. is broken thread. The discussion is ongoing.

Zap
zapperio is offline  
Old November 23, 2001, 10:03   #3
MarkG
Apolytoners Hall of FameApolyCon 06 Participants
Apolyton CS Co-Founder
 
MarkG's Avatar
 
Local Time: 19:22
Local Date: October 31, 2010
Join Date: Aug 1998
Location: Macedonia, Greece
Posts: 24,480
seed numbers are saved with the game that's why results are always the same
__________________
Co-Founder, Apolyton Civilization Site
Co-Owner/Webmaster, Top40-Charts.com | CTO, Apogee Information Systems
giannopoulos.info: my non-mobile non-photo news & articles blog
MarkG is offline  
 

Bookmarks

Thread Tools

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 13:22.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Apolyton Civilization Site | Copyright © The Apolyton Team