The new forums will be named Coin Return (based on the most recent vote)! You can check on the status and timeline of the transition to the new forums here.
The Guiding Principles and New Rules document is now in effect.
You don't even need software to do something as trivial as this it's just set math.
You have nine distinct sets, containing a variable number of characters. These sets don't even have to be exclusive; characters that can adequately work in multiple tasks can be counted in each.
Player 1 DPS
Player 1 Healer
Player 1 Tank
Player 2 DPS
Player 2 Healer
Player 2 Tank
Player 3 DPS
Player 3 Healer
Player 3 Tank
There are only 3! (ie, 6) combination of these sets.
P1 Tank + P2 Healer + P3 DPS
P1 Healer + P2 Tank + P3 DPS
P1 DPS + P2 Healer + P3 Tank
P1 Healer + P2 DPS + P3 Tank
P1 DPS + P2 Tank + P3 Healer
P1 Tank + P2 DPS + P3 Healer
This is because this is a 3 Choose 1 * 2 Choose 1 * 1 Choose 1 problem (hence, 3!).
Now, assuming that there are multiple characters in each of the nine set (or potentially zero), the actual number of combination assuming T1 = count Player 1 Tank characters, H1 = count Player 1 healer characters... is...
If every player had one priest, one warrior, and one mage these would all be 1's and the result would be 6 (priests are not dps, and never will be... shadowpriests do not count).
If one of the sets contains no characters then the two combinations that depend on that combination of character-player is wiped out of the end result due to the zero.
But really the big thing is... there's only 6 combinations of roles-players. Getting into individual characters seems rather silly and unnecessary. Just tell people what they need to be and they can pick a character that matches the job.
Implementing a system that would choose a combination could be done with varying degrees of ease in any language that provides for the manipulation of sets of data.
To be entirely honest, I've kinda got a suspicion that I just did your homework, hence why I have not taken the step to implement an example in ruby.
Just a thought, and I suppose this depends entirely on your values of fun, which I admit are completely arbitrary and depend on the person.
When you start sitting and down doing spreadsheets and considering writing programs to enhance your experience in your pastime, mightn't it be time to consider a new pastime?
Posts
You have nine distinct sets, containing a variable number of characters. These sets don't even have to be exclusive; characters that can adequately work in multiple tasks can be counted in each.
Player 1 DPS
Player 1 Healer
Player 1 Tank
Player 2 DPS
Player 2 Healer
Player 2 Tank
Player 3 DPS
Player 3 Healer
Player 3 Tank
There are only 3! (ie, 6) combination of these sets.
P1 Tank + P2 Healer + P3 DPS
P1 Healer + P2 Tank + P3 DPS
P1 DPS + P2 Healer + P3 Tank
P1 Healer + P2 DPS + P3 Tank
P1 DPS + P2 Tank + P3 Healer
P1 Tank + P2 DPS + P3 Healer
This is because this is a 3 Choose 1 * 2 Choose 1 * 1 Choose 1 problem (hence, 3!).
Now, assuming that there are multiple characters in each of the nine set (or potentially zero), the actual number of combination assuming T1 = count Player 1 Tank characters, H1 = count Player 1 healer characters... is...
(T1 * H2 * D3) +
(H1 * T2 * D3) +
(D1 * H2 * T3) +
(H1 * D2 * T3) +
(D1 * T2 * H3) +
(T1 * D2 * H3)
If every player had one priest, one warrior, and one mage these would all be 1's and the result would be 6 (priests are not dps, and never will be... shadowpriests do not count).
If one of the sets contains no characters then the two combinations that depend on that combination of character-player is wiped out of the end result due to the zero.
But really the big thing is... there's only 6 combinations of roles-players. Getting into individual characters seems rather silly and unnecessary. Just tell people what they need to be and they can pick a character that matches the job.
Implementing a system that would choose a combination could be done with varying degrees of ease in any language that provides for the manipulation of sets of data.
To be entirely honest, I've kinda got a suspicion that I just did your homework, hence why I have not taken the step to implement an example in ruby.
This is a fantastic idea. From now on I will spam H/A with my homework questions thinly disguised as WoW scenarios.
GT: Tanky the Tank
Black: 1377 6749 7425
I've read introductory com-sci problems that ARE wow scenarios. Depends on the lecturer. I had one who used cats in all of his problems.
See: http://www.rofflehaus.com/wiki/Owen_Reynolds
See Also: http://www.rofflehaus.com/wiki/Owen_Reynolds_Quotes
When you start sitting and down doing spreadsheets and considering writing programs to enhance your experience in your pastime, mightn't it be time to consider a new pastime?
And another reason the specific character counts in his situation is if they're trying to get the daily random heroic done on each character.