https://github.com/mohamedmetwalli5/montyhallparadox-simulation
🎲 Simulation game of Monty Hall Paradox built with Angular.
https://github.com/mohamedmetwalli5/montyhallparadox-simulation
angular probability
Last synced: 4 months ago
JSON representation
🎲 Simulation game of Monty Hall Paradox built with Angular.
- Host: GitHub
- URL: https://github.com/mohamedmetwalli5/montyhallparadox-simulation
- Owner: MohamedMetwalli5
- License: mit
- Created: 2023-06-06T15:39:37.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-23T15:41:04.000Z (9 months ago)
- Last Synced: 2025-06-07T01:38:48.370Z (4 months ago)
- Topics: angular, probability
- Language: HTML
- Homepage:
- Size: 14.8 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# Monty Hall Paradox Simulation
This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version `14.1.3`. This simulation provides a visualization of the Monty Hall problem, a famous probability puzzle. This frontend project is hosted on Netlify. Feel free to explore the website by visiting the website [here](https://montyhallparadox-simulation.netlify.app).# Setup Instructions
To replicate the project on your local environment, please follow these steps:
1. Navigate to the Project Directory `cd MontyHallParadox-Simulation`
2. Install Dependencies `npm install`
3. Run the project `ng serve`
4. The project will start on `http://localhost:4200`## The Monty Hall Paradox
* It is a famous probability puzzle that is named after the host of the game show "Let's Make a Deal", Monty Hall. The paradox involves three doors, behind one of which is a prize, and behind the other two are goats. The contestant chooses one of the doors, but before the door is opened to reveal what is behind it, Monty (who knows what is behind each door) opens one of the other two doors to reveal a goat. At this point, the contestant is given the option to switch their choice to the other unopened door or stick with their original choice.* The paradox arises because it seems counterintuitive that switching doors would increase the contestant's chances of winning the prize. In fact, the correct strategy in this scenario is always to switch doors, as it doubles the contestant's chances of winning from 1/3 to 2/3. This result can be proven mathematically, but it often goes against people's intuition.
## Demo
https://github.com/MohamedMetwalli5/MontyHallParadox-Simulation/assets/58489322/2b51097f-6db3-4a67-a8d6-85e4b6daf3e7## Website Logo
