nowfound

Dev tools · May 12, 2020

The Monty Hall Problem in JavaScript

Monty Hall problem. An old code I wrote a long time ago. - victorqribeiro/montyhall

The Monty Hall Problem in JavaScript launched on May 12, 2020 with 15 votes, #1,056 of 4,813 launches that month and more than 75% of that year's launches. The site was still online in September 2026, 6 years on.

Visit github.com ↗Alternativestop 22% of May 2020

In plain words

The Monty Hall Problem in JavaScript is a simulation tool that demonstrates the famous probability puzzle. It allows users to interactively experience the paradoxical scenario where switching doors increases winning chances. Built for anyone curious about probability and statistics, this project is particularly useful for students learning counterintuitive mathematical concepts. Available as open-source code on GitHub, it makes the abstract problem tangible through hands-on experimentation.

written from the facts on this page · September 2026

Does a similar job

all alternatives →
  • Understanding the Monty Hall paradox through code2020 · github.com · ▲37

    An explanation of the apparent paradox in the Monty Hall puzzle. - DeegC/monty_hall_paradox

  • Monty's Gauntlet – Do You *Really* Understand the Monty Hall Problem?2025 · tinkerdeck.com · ▲9

    A variant of the Monty Hall problem (the 7th one on this quiz) went semi-viral a couple months ago. For me at least, I may be able to walk through the reasoning of the original problem, and I may be able to convince myself it's correct, but it's very hard to build an intuition for why it's correct that feels truly sound. So I thought it'd be interesting to have a quiz to contort the original problem in as many ways as possible to challenge my understanding and intuition. Try it out!

  • IM
    I made a small website about the Monty Hall Problem2024 · evanconway.github.io · ▲6

    I learned about the Monty Hall Problem recently. I thought it was so interesting it inspired me to make this small interactive website about it.

  • IM
    I made a puzzle game that gently introduces my favorite math mysteries2024 · rahulilango.com · ▲1,054

    This is the first iteration of a short game I’m making that tries to interactively explain some of my favorite math questions / ideas. My goal is mostly to get the player curious and not necessarily to explain absolutely everything. There were a lot of fun technical parts to building this: - For implementation reasons, it’s much easier if the lines all have integer intersection points with each other. To do this, when a new line is added I “cheat” by rounding intersections to integers and then splitting the old lines at the intersection into new linds (with potentially different slopes)…

  • I made an interactive math crossword puzzle with infinite levels2024 · scientific.place · ▲165

    Hey there! I'm the brains behind the math crossword game on my site. This game is all about making math a little more fun – users just drag and drop numbers to fill in the blanks and move on to the next level if they get it right. Let me know if face any issues or have any suggestions! :)

  • Solving the Monty Hall Problem in R2020 · github.com · ▲6

More dev tools this month

the category →
  • /dev/null▲490

    a social network for devs

    Dev tools · 4d ago · dev-null.sh

  • open-source IDE for thoughtful software design. Contribute to devdotfast/whiteboard development by creating an account on GitHub.

    Dev tools · 28d ago · github.com

  • Contribute to reladraw/reladraw development by creating an account on GitHub.

    Dev tools · 26d ago · github.com

  • OpenBot▲362

    Grok Bot alternative: free, local, open-source, multiplayer

    Dev tools · 24d ago · openbot.run

  • Contribute to oosexgang/hackios-xnu-kernel development by creating an account on GitHub.

    Dev tools · 13h ago · github.com

  • Talanoa▲346

    Hi HN, I’m a fullstack developer, and honestly, I’ve lost count of how many side projects I’ve worked on over the years. But one idea kept coming back to me: a different kind of email client. It first came to me in 2014: “What if we could handle emails more like conversations?” Every year, I’d revisit this concept in my “Build Notes.” Ten years later, no one had built exactly what I had in mind — so I finally decided to do it myself. That’s how Talanoa was born. I wanted something focused on people, not timelines. I was tired of marking messages as unread just to remember to reply later, or…

    Dev tools · 21d ago · talanoa.email

Source: Show HN post ↗

Launched alongside, May 2020

the whole month →
  • Blush▲1,462

    Illustrations for everyone

    Dev tools · 2020 · blush.design

  • Animation of the SHA-256 hash function in your terminal. - in3rsha/sha256-animation

    Dev tools · 2020 · github.com

  • This Word Does Not Exist uses an artificial intelligence model named GPT-2 to invent new English words.

    AI · 2020 · thisworddoesnotexist.com

  • P3

    Life & fun · 2020 · leeoniya.github.io

  • Untools▲783

    Hand-picked tools for better thinking

    Work · 2020 · untools.co

  • Improve your website copy based on data from your audience

    Growth · 2020 · wynter.com