The following are the results of tests I have performed to help determine whether or not the random number generator used by Civ3 is in fact faulty. Many have alleged, including myself, that the random number generator is too "streaky." The following numbers are the results of 10,000,000 simulated encounters* between common ancient attackers and defenders. All combat is assumed to transpire on level ground with a 10% combat modifier to the defender. Each column displays the total number of each type of streak that occurred during all of simulated combat.
Now, in order to determine whether Civ3's random number generator is delivering an appropriately random result we will need results taken from the game. As yet, I do not have these results. It would be a lot easier if it had a cheat mode with which I could instantly put down 1,000 test subjects, but it doesn't. So, I call on the collective data gathering power of this entire forum to help collect the necessary data.
I would ask each of you to go fight an ancient era war and return the results of each combat. We want to know the exact number of each type of streak that occurred during combat. Once we have enough results, we can compare them to expected results. This will, hopefully, either prove that there is indeed something wrong with the random number generator, or that there is indeed nothing wrong with the random number generator.
Sorry about this PHP stuff, but it was the only way I could figure out to make the board not delete all of my tabs. It totally destroyed my tables. I don't know what PHP is supposed to do, and so I can't predict if it will show up properly, but it looks like it works on my end. It is still a big mess, but it is better than not having any spaces at all!
*These numbers were generated using the srand() and rand() functions of C++ using the Visual C++ 6.0 compiler. The results were found to be consistent with minor random variation between multiple computers. The srand() function was seed with the current time using the time() function.
Now, in order to determine whether Civ3's random number generator is delivering an appropriately random result we will need results taken from the game. As yet, I do not have these results. It would be a lot easier if it had a cheat mode with which I could instantly put down 1,000 test subjects, but it doesn't. So, I call on the collective data gathering power of this entire forum to help collect the necessary data.
I would ask each of you to go fight an ancient era war and return the results of each combat. We want to know the exact number of each type of streak that occurred during combat. Once we have enough results, we can compare them to expected results. This will, hopefully, either prove that there is indeed something wrong with the random number generator, or that there is indeed nothing wrong with the random number generator.
Sorry about this PHP stuff, but it was the only way I could figure out to make the board not delete all of my tabs. It totally destroyed my tables. I don't know what PHP is supposed to do, and so I can't predict if it will show up properly, but it looks like it works on my end. It is still a big mess, but it is better than not having any spaces at all!
PHP Code:
The following is an example of what the data means. If a battle follows the pattern,
Attacker Defender
X
X
X
X
X
X
X
Defender Dies
, then the results of this combat are:
One Two Three Four
Attacker 1 0 1 0
Defender 1 1 0 0
4HP vs. 4HP
Results from 10,000,000 Confrontations
Attacker One Two Three Four
Archer 8,964,266 4,360,764 2,011,396 1,000,836
Defender One Two Three Four
Spearman 9,730,149 4,518,276 2,041,995 1,361,879
Results from 10,000,000 Confrontations
Attacker One Two Three Four
Archer 10,462,044 4,287,162 1,954,495 2,641,432
Defender One Two Three Four
Warrior 6,337,550 3,517,345 1,813,553 369,421
Results from 10,000,000 Confrontations
Attacker One Two Three Four
Swordsman 10,300,304 4,533,003 2,034,088 1,859,570
Defender One Two Three Four
Spearman 7,885,837 4,052,129 1,947,714 673,142
Results from 10,000,000 Confrontations
Attacker One Two Three Four
Swordsman 9,597,199 3,542,791 1,723,552 3,897,640
Defender One Two Three Four
Warrior 4,326,225 2,690,371 1,581,916 137,632
3HP vs. 3HP
Results from 10,000,000 Confrontations
Attacker One Two Three
Archer 6,918,570 3,383,259 1,943,113
Defender One Two Three
Spearman 7,422,891 3,470,202 2,445,965
Results from 10,000,000 Confrontations
Attacker One Two Three
Archer 7,884,940 3,306,257 3,976,614
Defender One Two Three
Warrior 5,131,003 2,843,250 921,083
Results from 10,000,000 Confrontations
Attacker One Two Three
Swordsman 7,784,038 3,471,340 3,080,190
Defender One Two Three
Spearman 6,197,744 3,195,090 1,445,633
Results from 10,000,000 Confrontations
Attacker One Two Three
Swordsman 7,294,638 2,806,963 5,253,033
Defender One Two Three
Warrior 3,674,535 2,273,300 436,849
End of Table
Comment