Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 655 Bytes

File metadata and controls

10 lines (7 loc) · 655 Bytes

modifed-Monty-Hall-game-javascript

Description: A fun twist on the classic Monty Hall game. Extra credit: If you're feeling nerdy (we all have those days), see if you can figure out the probability of winning this modified version of the Monty Hall game!

If you are unfamiliar with the classic Monty Hall game, you can read about it on wikipedia: http://en.wikipedia.org/wiki/Monty_Hall_problem

Background: I wrote the first version of this code on my third day of learning JavaScript after I learned about 'Switch' from the Codecademy Intro to JavaScript course. I am still learning JavaScript and will welcome any suggestions to improve this code!