Christian Hecht wrote:
combat random number generator
What does that mean?
From a computer science perspective there is no such thing as a "random number" - instead there are infinite sequences of numbers. If "random number generation" is not implemented properly you will get the same number every time if you do not mix up which "sequence" you are picking from - so what is essential is picking a different "sequence" and taking a member of that sequence. (Or tracking which number from a given sequence you have used already - but normally you just need one number at a given time, so its simpler to just "randomize" which sequence of numbers you use)
As it applies to the games, I believe this is relevant to the bug in which units in the same hex hit by artillery took the same number of casualties. To tie these two points together, it was picking the same number from the same sequence. To be more concrete, the code that handled the firing probably initialized the sequence it was going to use in that particular calculation, and then picking the first number from the sequence for each unit that was hit: resulting in the same number of casualties each time.