Monty Hall

Monty Hall is a browser game built using a Create React App starter. Meant to simulate the Monty Hall problem, the user is presented with three closed doors and asked to choose a door. Once the user has selected a door, Monty will open a different door to reveal a goat. Monty then asks whether you would like to switch doors or stick with the original door you chose. Monty then reveals whether or not your choice led to you choosing the prize door. Users can run this simulation as many times as they'd like and the win percentages along with the percentage of the time they switched doors or stuck with the original door is provided.

Tech

  • React, React Portals, React Hooks

  • Language : JavaScript

  • © AmyShackles 2018 - 2021
  • Github logo
  • Twitter logo
  • LinkedIn logo