## Monopoly Fight!

Have you ever been playing a game of Monopoly and wondering who had the better set of properties? Well, wonder no more, as Monopoly Fight! will figure this out for you. Tell it what properties each player owns, and how much they’ve each been developed, and it will tell you how much money each player is expected to earn or lose per roll of the dice.

I won’t bore you here with a description of how it works, but keep in mind that its answers don’t take into account how much each player had to spend to get their properties in the first place. For figuring out what properties you should prefer to invest in, there are better resources for that.

## 4 Responses

You should try problem #84 on Project Euler. If you solve it, my solution is on page 3. It’s horrifically long, but it was fun :)

I haven’t done any Project Euler yet, though it looks interesting. The existing Monopoly Fight! code gets you 99% of the way to the answer — you’d just need to change a few constants in the function that does the dice roll.

Actually, if I go ahead and do that, the output of `echo “XXYYZZ” | md5sum` is a129d5260f3a5dc625ded80af486632e; does that match what you get?

Oddly, problem #84 gives the probability of landing on Jail as 6.24%, whereas my model gives 3.95% (short Jail stays), as does this independent analysis. Our figures for

~~Illinois Avenue~~E3 and Go are identical to the precision they give.Do I get credit for finding an error in the problem statement?

You’re correct on #84. Did you use the simplifying assumption that “…we shall make no distinction between ‘Just Visiting’ and being sent to JAIL”?

Let me know if you ever start ProjectEuler. I’m sure you’ll blow by my 88/182 in no time. I’ve almost got all the problems that more than 1000 people have solved. Your better math skills will probably give you an advantage on the harder ones that have got me stumped right now.

Ah, if I add my probabilities for Just Visiting and Jail together, then I get something that agrees with their figure. That makes more sense now.