Monday, September 10, 2012

The Most Popular Square in Infinite Monopoly

Monopoly is a classic board game made by Parker Brothers. Each player starts with a certain amount of money. The players take turns rolling dice to move their piece around a list of properties. If the player has enough money to purchase the property they land on then they have the option of buying the property. If someone else has the property already then the player has to pay rent instead. If the player cannot afford rent then they will angrily flip over the board, ending the game. This concludes a typical game of Monopoly. In the end, there is no winner, only broken friendships.

Clearly, Monopoly is a gentleman's game and so everyone should learn some basic strategy. This blog post will outline which properties are the most important to control and give an estimate of how much money you can expect to bring in from each property. To do this we will calculate which squares on the board are the most popular in Monopoly. To do this we will make a few assumptions:

  1. Monopoly is a very very long game that never ends (this is pretty much true).
  2. A player will always buy out of jail as soon as they can. This isn't true of course. It might be a better idea to wait until your opponents are about to cross your biggest properties before you buy out of jail and risk paying huge rent fees yourself.


Okay, so how can it be done?

That's a good question. I want to answer this by giving a general outline of what I kept in mind while solving this problem. The details are left out in all but the creative step of the problem. If you'd like to fill in the details yourself you'll need to be familiar with Markov Chains.
Here is the outline I made while I solved this problem:

I. Analyze the Problem.

This step consists of making observations that might help move the problem into abstraction. My observations for this problem were:
  1. I am interested in finding the probability of being somewhere on a board at a specific time.
  2. I know that Markov Chains can be used to find the probability of something happening at a particular time.
  3. To be a Markov chain requires the object in question to have no memory between each random move, however Monopoly does not satisfy this property.
  4. Monopoly does have a memory, rolling doubles three times will send you to jail.
I will stop the analysis here. We have come to a problem in our analysis, but instead of giving up, we will force our approach to work. This is the creative part of problem solving.

II. Form a strategy

The problem has already taken some form in our minds from analyzing it. Now we will make our strategy explicit.
  1. Modify the game of Monopoly into a new game, Markovopoly (get it?).
  2. Solve for the distribution in the new game.
  3. Use the solution of Markovopoly to get the solution for the original Game.


III. Carry out the strategy

Modifying the game of Monopoly into a new game is what I would consider the creative step in solving the problem. There are an infinite number of possible ways to "modify Monopoly", how should we choose to modify it? Well, we have to check out the strategy. We intend for whatever modification we make to 1. be solved by Markov Chains, and 2. Give enough information to be able to solve the original problem. This type of thought is no different from how a poet might choose his words when he has a particular emotion he wants to express. We choose things from the vast number possibilities with a goal in mind, and that is where there is creativity. How to come up with this part of the solution is part luck and part logical. Somehow we want to modify the game as little as possible so that we can keep goal 2. in mind, but we also want to modify it enough so that it will meet goal 1. If you'd like to try to come up with the solution now I suggest not scrolling down any more.
Here is the modified game, Markovopoly:
Image Hosted by ImageShack.us
The way the new game works is this: It's just like normal Monopoly, except if you roll doubles you move out a layer. If you move past the third layer you go to jail. If you roll something besides doubles then you go back to the inner most layer. This version of Monopoly IS a Markov Chain. Now we can solve for the probability of landing on each square in Markovopoly, and then add each squares probability, along with it's two clones, to get the solution for the original game.

Now, instead of showing you how to analyze the game I just built, which is quite messy and took a computer, I will show how to solve this type of problem in general. A Markov Chain is a set of states and the probability of transitioning from one state to another state after a state change. For example, flipping a coin multiple times is a Markov Chain. The two states are heads and tails. The probability of going from state 1 (heads) to state 2 (tails) is 50% each flip. In fact each transition has a probability of 50%. We can store this information in a matrix like so:

.

HeadsTails

Heads50%50%

Tails50%50%

Of course this example isn't terribly interesting, since we already fully understand what's going to happen at any time in the Markov Chain. So to further the point let's come up with a new example. This one can be about weather forecasting, and no it's not necessarily meant to be realistic. Here we will say there are 2 types of days, sunny days and rainy days. If it is a sunny day today, then tomorrow it will be a sunny day with 90% probability. This means 10% of days after sunny days must be rainy. Now if it is a rainy day, and since rainy days tend to all clump together, the next day has a probability of 40% to rain.

We can organize this data again in a matrix.

SunnyRainy

Sunny90%10%

.

Rainy60%40%

Now, someone might ask, "if today it is rainy, then what is the probability that it will be rainy in 2 days?" We can analyze our system and see there are 2 possible things that can happen tomorrow if it's rainy today. We can have sun tomorrow, and rain in 2 days, or we can have rain tomorrow, and rain in 2 days as well. The probability of the first event happening is $60\%\times10\%=6\%$, and the second has a probability of $40\%\times40\%=16\%$. Adding these together, tells us the probability of it raining in 2 days, given it is raining today, is $22\%$. Now, if we calculate the square of the matrix we gave for our Markov chain we will notice something:


SunnyRainy

Sunny87%13%

.

Rainy78%22%

This table actually shows the transition probability if the state change was over 2 days instead of just 1 day! In general we can find the probability that any day is rainy by calculating the limit of this matrix's powers as it goes to infinity. This is how we can solve the Markovopoly game as well, though we'd need a computer.

IV. Looking Back

This is the most important part of solving a problem. There was some level of ingenuity required to solve this problem, so it is worth looking back on and trying to save that ingenuity. We introduced a modified version of the game to solve, and it overcame an obstacle. How we chose the modified game has some structure. It somehow gives our Markov Chain "memory" by introducing states. We now have a general principle we can apply in future problems: If a system has a memory, but is very close to a memory-less system that can be analyzed, then we can introduce new states to serve in place of the memory. In our problem the new states were the outer layers of the Monopoly board.

The results

Here is a table giving the percent of the time each square is landed on:

Square NameProbability

Jail5.33%

Community Chest2.82%

Tennessee Avenue2.77%

New York Avenue2.74%

Free Parking2.72%

St. James Place2.71%

Atlantic Avenue2.71%

Ventnor Avenue2.71%

B&O Railroad2.70%

Water Works2.70%

Kentucky Avenue2.69%

Marvin Gardens2.69%

Illinois Avenue2.68%

Pacific Avenue2.68%

Chance2.67%

Indiana Avenue2.64%

Pennsylvania Railroad2.62%

North Carolina Avenue2.61%

Community Chest2.53%

Virginia Avenue2.53%

Pennsylvania Avenue2.46%

States Avenue2.44%

Short Line2.38%

Electric Company2.36%

Baltic Avenue2.33%

Community Chest2.31%

Income Tax2.30%

Mediterranean Avenue2.29%

Chance2.29%

St. Charles Place2.28%

Go2.28%

Connecticut Avenue2.28%

Reading Railroad2.27%

Vermont Avenue2.27%

Oriental Avenue2.27%

Chance2.27%

Boardwalk2.26%

Luxury Tax2.23%

Park Place2.19%

Go To Jail0.00%

The expected value of each square for each turn you own it (assuming none are Monopolies):

PropertyValue

Boardwalk$1.13

Park Place$0.77

Pacific Avenue$0.70

Pennsylvania Avenue$0.69

North Carolina Avenue$0.68

Marvin Gardens$0.65

Atlantic Avenue$0.60

Ventnor Avenue$0.60

Illinois Avenue$0.54

Kentucky Avenue$0.48

Indiana Avenue$0.48

New York Avenue$0.44

Tennessee Avenue$0.39

St. James Place$0.38

Virginia Avenue$0.30

States Avenue$0.24

St. Charles Place$0.23

Connecticut Avenue$0.18

Vermont Avenue$0.14

Oriental Avenue$0.14

Baltic Avenue$0.09

Mediterranean Avenue$0.05

The value of each Monopoly (in Dollars per turn):

MonopolyValue of Monopoly Per Turn

Purple$16.23

Light Blue$38.65

Pink$58.18

Orange$79.55

Red$85.5

Yellow$94.51

Green$101.76

Blue$77.94

Conclusion

The most valuable Monopoly to own is actually the green one. However, you probably have a better shot at getting the blue one since it is only 2 properties. The data above can be used to formulate a general strategy and to plan your trades exactly. You only want to make trades which have a positive expected value, (and you should consider the expected COST of landing on your opponent's new properties as well).

Now, about the more general problem at hand. I think it is worth mentioning that this exact type of analysis is what Google uses to sort the pages in search history. Pages are rated highly depending on the probability of you randomly clicking links and ending up there. This is a Markov process and it gives a natural ranking by computing the limiting distribution.

Hope you enjoyed!

5 comments:

  1. How did you differentiate between the probabilities of moving onto the same squares on different layers?

    ReplyDelete
    Replies
    1. I differentiated between those probabilities by introducing a state for each square in the modified version of the game. In total, the modified version of Monopoly had 120 states. Using a computer I solved for the limiting distribution. It basically amounts to solving a system of linear equations for 120 unknowns. After solving for these probabilities the probability of landing on each square in the original game can be recovered by summing the probabilities across the three layers in the modified game.

      Delete
  2. The fact that Monopoly is such a chore to play and ends in broken friendships is intentional. The game was originally designed in order to criticize capitalism and land ownership as seen in early twentieth century America. It's strange to me that the game became so popular considering it's intentionally designed to not be fun to play.

    ReplyDelete
  3. You have forgotten the value of drawing chance and community chess cards which send you to locations on the board. In order to accurately solve this problem in the context of a game, you'll need to take into account the probability that one of these decks sends you to a location on the board.

    ReplyDelete
    Replies
    1. I actually left that part out on purpose because it varies by each version of Monopoly. It would be pretty easy to account for depending on the version though. Simply apply the same analysis but add a the transitions from chance/community chest. Either way it has very little effect on the actual distributions since those cards are quite rare.

      Thanks for the input though.

      Delete