A simple web-based simulation of the Monty Hall problem.
Play at: https://nodesocket.github.io/monty-hall-problem-simulation/
Coded with AI assistance from Cursor.
- Open
index.htmlin your browser (or run a local http server). - Pick one of three cups.
- The host removes an empty cup.
- Choose to stay with your original cup or switch to the other remaining cup.
- All cups are revealed — see if you found the ball.
# from this directory
python3 -m http.server 8888Then visit http://localhost:8888