Lab: Probability in Games

In this lab, you will use counting and probability to make informed decisions when playing games.

Instructions

You should complete this lab in a group of two to four. If you have a favorite board game or card game, consider bringing it to lab. Otherwise, we will use games from the board game library (located on the 2nd floor).

Step 1: Choose a Game

Choose a board game or card game for your team to analyze. Your are welcome to choose a game you are familiar with. The game must include a mix of:

For example, you cannot choose chess, since it doesn’t include randomness. You also cannot choose Candy Land, since the outcome is completely determined by the cards, meaning there is no skill involved.

Next, familiarize yourselves with the rules, and start playing the game. As you play, take note of situations where understanding the probability of different outcomes would be helpful. Spend about 10 minutes playing the game.

Note: If you are playing with a standard deck of cards, you can refer to Bicycle’s guides, which are available online and in an iOS app.

Step 2: Analyze Probabilities

Next, analyze a situation where different outcomes are possible. You should restate the relevant rules, describe the game state, calculate probabilities, and decide what move to make.

If necessary, you can simplify your analysis, in which case you should explain the limitations of your analysis.

Example: Last Point in King of Tokyo

Six dice, showing: 1, 2, punch, 2, punch, heart.

Optional: Monte Carlo Simulation

In cases where it is challenging to calculate probabilities, it may be easier to run simulations. This is known as the Monte Carlo method. Simulations are also useful for double-checking your math. For example, simulate.py simulates the King of Tokyo scenario described above, but also accounts for the edge-case described under “Limitations.”

> python simulate.py --n-simulations 100000
Keep twos strategy won: 79.2%
Keep ones and twos strategy won: 80.1%

If you have time, design a simulation to augment your analysis.

Submit

Create a single document with your team, and upload it to Gradescope. Upload the document once, and add your teammates to the submission. For full credit, you must:

Analysis Template

Learning Goals