- Joined
- Dec 6, 2010
- Messages
- 159
As opposed to the complicated discussion http://www.majorcommand.com/forums/threads/1707-Attack-and-Defend-odds, let's assume a couple things and go from there:
1) There are no special circumstances, such as busting an opponents bonus, or completing a continent bonus for yourself.
2) Optimal strategy when attacking, is to attack with >3 attackers and to stop when your attackers <4.
Agree with point 2 or not, for the sake of argument, lets roll with it.
I'm going to write a program to simulate 100,000 rolls and post the results of the following 2 things:
1) The statistical chances of the following cases happening with an infinite number of attacking and defending troops, to give raw data on any single dice rolling sequence.
1a) 0 attacking armies die and 2 defending armies die
1b) 1 attacking army dies and 1 defending army dies
1c) 2 attacking armies die and 0 defending armies die
and 2) The statistical chances of x attacking armies completely taking over a territory with y defending armies, up to a variation of 50 armies in each territory, keeping in mind rule #2. *Note* I probably can't do 100,000 rolls for each of these scenarios. I have no idea how fast my PC is going to kick this data out, no matter how simple the program might be.
3) Same thing as the last, but disregarding rule #2.
I'll try to complete this by the end of the weekend and post the results. No promises on time frame though, as I have a project launch on the 15th, and a ton of work to do on it before then.
1) There are no special circumstances, such as busting an opponents bonus, or completing a continent bonus for yourself.
2) Optimal strategy when attacking, is to attack with >3 attackers and to stop when your attackers <4.
Agree with point 2 or not, for the sake of argument, lets roll with it.
I'm going to write a program to simulate 100,000 rolls and post the results of the following 2 things:
1) The statistical chances of the following cases happening with an infinite number of attacking and defending troops, to give raw data on any single dice rolling sequence.
1a) 0 attacking armies die and 2 defending armies die
1b) 1 attacking army dies and 1 defending army dies
1c) 2 attacking armies die and 0 defending armies die
and 2) The statistical chances of x attacking armies completely taking over a territory with y defending armies, up to a variation of 50 armies in each territory, keeping in mind rule #2. *Note* I probably can't do 100,000 rolls for each of these scenarios. I have no idea how fast my PC is going to kick this data out, no matter how simple the program might be.
3) Same thing as the last, but disregarding rule #2.
I'll try to complete this by the end of the weekend and post the results. No promises on time frame though, as I have a project launch on the 15th, and a ton of work to do on it before then.
Last edited: