Canonical: https://toolipedia.app/probability-and-game-theory-simulators

# Probability and Game Theory Simulators

Play the Monty Hall game, run thousands of automatic trials to compare stay and switch, and simulate the iterated prisoner's dilemma with editable payoffs.

Breadcrumbs: Toolipedia > Everyday tools > Games, puzzles and random picks > Probability and Game Theory Simulators

## About Probability and Game Theory Simulators

Two famous puzzles you can test for yourself. In the Monty Hall game you pick a door, the host opens doors with goats, and you choose to stay or switch. Play it by hand, then simulate up to a million games to see switching win about two games in three, or more with extra doors. The second simulator plays the iterated prisoner's dilemma between two strategies such as tit for tat and always defect, with editable payoffs T, R, P and S. It lists the rounds and totals, warns if the payoffs are not a real dilemma and can run a tournament between all strategies.

## How to use Probability and Game Theory Simulators
1. In Monty Hall, pick a door, watch the host open goat doors, then choose Stay or Switch. Change the number of doors if you like.
2. Press Run the simulation to play thousands of games and compare the stay and switch win rates with the theory shown.
3. In the prisoner's dilemma, pick two strategies, the rounds and the payoffs. Read the totals, or run a tournament of all strategies.

## Why use this tool?
- Private: everything happens in your browser. Nothing you enter is uploaded.
- Free, with no sign-up, no watermark and no limit on how often you use it.
- Works on phones, tablets and computers: Android, iPhone, Windows, Mac and Linux. Nothing to install.

## Also known as
- probability and game theory simulators
- monty hall simulator
- monty hall problem game
- prisoner's dilemma simulator
- iterated prisoner's dilemma
- tit for tat simulation

## Frequently asked questions

### Why does switching win two thirds of the time in Monty Hall?

Your first pick is right only one time in three. The host knows where the car is and never opens it, so in the other two cases the remaining closed door must hide the car.

### What is tit for tat in the prisoner's dilemma?

It cooperates on the first round and then copies whatever the other player did in the previous round. Against always defect for ten rounds it scores 9 while the defector scores 14.

### What do the payoffs T, R, P and S stand for?

T is the temptation to defect against a cooperator, R the reward for mutual cooperation, P the punishment for mutual defection and S the sucker payoff. A true dilemma needs T > R > P > S.

### Is Probability and Game Theory Simulators free?

Yes. Probability and Game Theory Simulators on Toolipedia is free to use, with no sign-up and no watermark.

### Is it safe to use?

Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.

### Does it work on my phone?

Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.

### Do I need an account?

No. Just open the page and use the tool. There's no sign-up and no email needed.

## Related tools

More free tools that go well with Probability and Game Theory Simulators:
- [Coin Flip Simulator](https://toolipedia.app/coin-flip-simulator)
- [Word Games](https://toolipedia.app/word-games)
- [Physics Sandbox](https://toolipedia.app/physics-sandbox)
- [Dice Pool Probability Calculator for Wargames](https://toolipedia.app/dice-pool-probability-calculator-wargames)
- [Rock paper scissors lizard Spock game](https://toolipedia.app/rock-paper-scissors-lizard-spock)
