Cactus Game Design Message Boards
Open Forum => Off-Topic => Topic started by: Warrior_Monk on March 23, 2015, 01:35:48 PM
-
Rather than going back and actually having to remember how to calculate probabilities, I wrote a quick program that simulated drawing over 1,000,000 trials or so.
Me too! (Even the same number of trials. ;) )
Hey, Kids, here is a pro-tip for you...Markov chains are much easier in Monte Carlo.
So this was recently brought up in another thread, and the idea has been something on my mind for awhile now, but I don't know where to start.
Suppose I wanted to create a monte carlo where I have a table of deck archetypes, each with matchups against each other, and each with percentage of people playing it, and the number of people (so it can automatically calculate number of people playing each deck but I can modify percentages as I see fit). Then I have a number of rounds. What is the best way of setting something like this up? Does anything like this already exist?
Simple Example:
Matchups | Rock | Paper | Scissors |
Rock | 50% | 0% | 100% |
Paper | 100% | 50% | 0% |
Scissors | 0% | 100% | 50% |
Frequency |
Rock | 40% |
Paper | 35% |
Scissors | 25% |
Number of People: | 345 |
Number of Rounds: | 9 |
-
I don't know of anything simple that would do that for you. (That doesn't mean there isn't one--I just don't know of one.) I If you know Excel, MATLAB, or any programming language this would be really east to set up.
-
I only sorta know Excel. I guess I'll do some googling and see if I can figure it out. I had previously read before on it, but it didn't do everything I wanted it to do.
Additionally, I'd ideally like to see not only the winner, but also the average number of said deck in Top 32.
-
This doesn't seem too difficult to do with Matlab. http://www.mathworks.com/discovery/monte-carlo-simulation.html
IDK if you have Matlab. I know I get 1 copy for free from my university, so maybe it's the same for you.
-
this is just simple monte carlo stuff, had to do this for tons of business classes. go to real school not rock school and you could do it too.
-
this is just simple monte carlo stuff, had to do this for tons of business classes. go to real school not rock school and you could do it too.
Should I edit OP to say "plz do it for me I'm lazy"?
-
yeah kinda
-
If you're more precise about what you want it to do, and If I have time (which is a big if), I might be able to whip something up that could do it.
-
he essentially wants to run a 250 person tournament in excel using winning percentages of deck matchups against each other, random pairings, and determine how likely a specific deck variant is to win the tournament (in swiss)
-
That's sounds pretty straight forward, but I don't know how to use excel. I could program that pretty easily though.
-
That's sounds pretty straight forward, but I don't know how to use excel. I could program that pretty easily though.
I mean, as long as I can use it, I don't care. I was just going to try excel because that's what I have available to me.
-
variables we can enter should be number of people, number of decks, individual decks win percentage against other decks, frequency of each deck in the field, and number of rounds. i think that's it.
-
I may have convinced Olijar to get on board with this idea.