I am playing the popular online game World Wars 2. Where neighbouring nations can attack each other and the probability of an attack being successful depends on some dice mechanic.
Each nation is allocated a number of fair 6-sided dice to roll, equal to the number of solider units inside it. When you choose to attack, you roll $n$ dice, and the attack is successful if the sum of these $n$ dice is higher than the sum of $m$ dice rolled from the defending nation.
Each nation requires a minimum of two units to attack, and all units are used in the attack. However a defending nation may have just 1 unit inside, and all units are used in the defense, and the maximum number of units allocated to any nation is 8. So the question can be posed as What is the probability that $n$ fair 6-sided dice roll a sum higher than $m$ fair 6-sided dice, where $2 \leq n \leq 8, 1 \leq m \leq 8$?. The number of units in the attacking nation and the defending nation are known by both players prior to each attack.
Expressed mathematically: $$P(\sum_{i=1}^{n}d_{i} > \sum_{j=1}^{m}d_{j})$$
I have written code to simulate the probabilities for this problem, but I would like to answer this question so that it can be expressed in the general case. I have already looked at questions here, and here, however these questions weren't considering the sum of these rolls.
Each dice has 6 sides, and is fair so it follows a uniform distribution. I have tried to answer this by looking at possible combinations of $n$ and $m$ rolls, and assessing the distribution.
I started by working backwards from the extremes, i.e 8 dice will always roll a sum higher than 1 dice with probability 1, same goes for seven dice. $$P(\sum_{i=1}^{8}d_{i} > \sum_{j=1}^{1}d_{j}) = 1$$
As we work down to 6 dice, there is a non-zero probability that 6-dice will not roll a sum higher than one dice. i.e $$P(\{1,1,1,1,1,1\}) = \frac{1}{6^6}= \frac{1}{46656}$$ And the probability of the 1 die rolling a 6 is $$P(\{6\}) = \frac{1}{6}$$ I then calculated the probability of this even to be $$P(\{1,1,1,1,1,1\}) \times P(\{6\}) = \frac{1}{46656} \times \frac{1}{6} = \frac{1}{279936}$$
This analysis is easy to do in extreme cases however I was stuck on how to proceed from here.