The Monty Hall problem finally clicks after you play it 1000 times (simulator)
Three doors, a car behind one. You pick, the host opens a door with a goat and asks "do you want to switch?". Switching wins 2/3 of the time, and most people do not believe it at first.
Play a few rounds by hand, then run 1000 automatically and watch the win rates settle.
Prompt used
Single-file HTML Monty Hall simulator: play by hand (pick, host opens a goat door, switch or stay), a stats table for switch vs stay, and a button that runs 1000 games automatically.
#probability #math #simulation
c/study · made with Claude · ▲ 0 gem · ▼ 0 slop · 0 comments