I need help with determining the probabilities of rolling four 12-sided dice: Red, White, Blue, and Yellow.
I tried to program a simulation in BASIC on Windows, and the language on Windows 10 isn't like my old and long-gone Atari 800XL, so I cannot figure out a simulation.
Basically, if all of the dice combinations are done (should be 12 * 12 * 12 * 12 or 20,736), in what number of occasions would Red "win" with the highest outright number, and how many would Red "tie" in a tie for the highest number, two-way, three-way, and four-way ties are "ties?" (A "loss" would be any other scenario or the remainder.)
Thank you.
Red wins with $12$ in $11 \times 11 \times 11$ ways.
Red wins with $11$ in $10 \times 10 \times 10$ ways.
... and so on.
Two way ties are a little harder.
Red is in a two way tie with $12$ in $3 \times 11 \times 11$ ways. The $3$ picks the die that ties.
Red is in a two way tie with $11$ in $3 \times 10 \times 10$ ways. The $3$ picks the die that ties.
... and so on.
Red is in a three way tie with $12$ in $3 \times 11$ ways. The $3$ picks the die that does not tie.
... and so on.
Counting the four way ties is easy. There are $12$ of them.