Monty Hall Simulator
keep vs switch vs switch-50%
Simulation inputs
Classic Monty Hall is 3 doors. This simulator also supports
N ≥ 3
doors (host opens all goats except one).
Doors (N)
Trials
Seed (optional)
Switch probability for “switch 50%”
Run simulation
Run ×10 (more stable)
Reset
Tip: try
N=3
then
N=10
and watch how switching approaches certainty.
Results
Simulation results plus theoretical win rates.
Computed theoretical P(win) if keep
—
Computed theoretical P(win) if switch
—
Computed theoretical P(win) if switch with probability p
—
Elapsed
—
Strategy
Wins
Losses
Win rate
Run a simulation to see results.
Win rate comparison
—
Bars show
keep
,
switch
, and
switch p
win rates from the last run.