lackattack wrote:Okay, here's how the dice work:
I have a list of 50,000 dice rolls I got from random.org. Each line in the file looks like this: A1 A2 A3 D1 D2
So each time you attack I only use the numbers you need and then erase the line from the file. When the file is empty it is automatically re-loaded. We currently consume 30,000 rolls each day.
Something seems wrong with this algorithm. So you are saying if I am attacking with two dice and you are defending with 1 die, then conquerclub.com would read the next line in file and compare A1 A2 to D1? If this is true, then that leaves A3 and D2 out of the statistical calculations. So in the long run the probability distribution of rolling a 1, 2, 3, 4, 5, or 6 would be skewed according to how they are ordered in the file. What this means is that in the long run never attack with less than 3 dice and never defend with less than 2 dice. I'm glad you posted this because this is a major flaw. The easy way to fix this would be to have 2 files "Attacker.dicerolls" and "Defender.dicerolls", each file having 1 die roll per line. So if I attacked you with 2 dice and you defended with 1 die, then conquerclub.com would read 2 lines from "Attacker.dicerolls" to get the attacking dice and 1 line from "Defender.dicerolls" to get the defending die. If "Attacker.dicerolls" had 150,000 lines and "Defender.dicerolls" had 100,000 lines then you could maintain your current churn rate and maintain something closer to the statistical averages of 16% independent probability of each die roll coming up.
It would be cool if you posted the statistical averages of the file (which can be done as soon as a new file is updated - and this should be the baseline file) vs. the statistical averages of the die rolls actually used (i.e. keep a counter for how many times a 1 comes up for attackers on a die that is actually used according to your current algorithm, a 2, a 3.. etc. and also for defenders; then look at the average over the same 50,000 sets of rolls and you should see much higher "skew" in the averages. What's more interesting is that the skew should be different for defenders and attackers.)