I need some help with math. I'm working on something (that I'll post) for a game, but it's been decades since I took Finite Math.
Probability: Permutations and Combinations.
I have three six sided (fair) dice. One is red. One is white. One is blue.
Order matters.*
I want to roll all six dice, matching any two of them.
*I think order matters. What I'm trying to simulate is a card game, like poker. I'm imagining six-sided, octagonal cards. Each of the six sides on a card is imprinted with a character and a suit. I want to be dealt three cards, and a hand is made by discarding one card and matching one sides with the remaining two cards.
So, how many combinations are possible?
Is this correct--
6 x 6 x 6 = 216 possible pairs.
216! / 214! = 46,440 possible hands.
Is that correct?
Probability: Permutations and Combinations.
I have three six sided (fair) dice. One is red. One is white. One is blue.
Order matters.*
I want to roll all six dice, matching any two of them.
*I think order matters. What I'm trying to simulate is a card game, like poker. I'm imagining six-sided, octagonal cards. Each of the six sides on a card is imprinted with a character and a suit. I want to be dealt three cards, and a hand is made by discarding one card and matching one sides with the remaining two cards.
So, how many combinations are possible?
Is this correct--
6 x 6 x 6 = 216 possible pairs.
216! / 214! = 46,440 possible hands.
Is that correct?