An open API service indexing awesome lists of open source software.

https://github.com/franckferman/monty-hall-problem-simulator

🚪 A Go-powered simulator for the Monty Hall problem, with statistical output. Simulate and analyze the famous Monty Hall paradox with realistic odds.
https://github.com/franckferman/monty-hall-problem-simulator

build-script go golang golang-cli golang-functional-programming golang-math math mathematics monty monty-go monty-golang monty-hall monty-hall-go monty-hall-golang monty-hall-problem monty-hall-problem-go monty-hall-problem-golang monty-problem paradox statistics

Last synced: 2 months ago
JSON representation

🚪 A Go-powered simulator for the Monty Hall problem, with statistical output. Simulate and analyze the famous Monty Hall paradox with realistic odds.

Awesome Lists containing this project

README

        

[![Contributors][contributors-shield]](https://github.com/franckferman/Monty-Hall-Problem-Simulator/graphs/contributors)
[![Forks][forks-shield]](https://github.com/franckferman/Monty-Hall-Problem-Simulator/network/members)
[![Stargazers][stars-shield]](https://github.com/franckferman/Monty-Hall-Problem-Simulator/stargazers)
[![License][license-shield]](https://github.com/franckferman/Monty-Hall-Problem-Simulator/blob/stable/LICENSE)


Monty-Hall-Problem-Simulator Logo

🚪 Monty Hall Problem Simulator



Simulate, analyze, and visualize your chances in the famous Monty Hall paradox.


A Go-powered simulator for the Monty Hall problem with statistical analysis.

## 📜 Table of Contents

Click to collapse/expand


  1. 📖 About

  2. 🤝 Contributing

  3. 🌠 Star Evolution

  4. 📜 License

  5. 📞 Contact

## 📖 About

**Monty-Hall-Problem-Simulator**: _A Go-based simulator to explore and visualize the famous Monty Hall paradox_.

This simulator was originally developed as part of a personal learning journey to better understand probabilities, paradoxes, and to demonstrate the Monty Hall problem through real simulations — beyond theoretical explanations.

Initially created as a personal experiment, it later became public because I believe others might benefit from having a concrete, hands-on way to see the paradox in action.

> ⚠️ Note: Although fully functional and optimized, this project remains a personal and educational experiment.
> It is not a commercial product, but rather a public code archive aimed at educational, academic, or experimental uses.

The project combines secure random generation, statistical analysis, and clean modular Go code, making it a reusable and extendable tool for anyone curious about probabilistic paradoxes, statistics, or Golang.

> Feel free to reuse, adapt, or improve it as you wish.

### ⚙️ Features

- ✅ Secure and realistic simulations using cryptographically secure randomness (no pseudo-random hacks).
- ✅ Detailed statistical output, including win rate percentages for both "switch" and "stay" strategies.
- ✅ Clean and modular architecture following Go idiomatic practices for easy customization and extensions.
- ✅ Cross-platform pre-built binaries (Linux, Windows, MacOS Intel & ARM64) — ready to use.


Monty-Hall-Problem-Simulator Demo Screenshot

(🔼 Back to top)

## 🤝 Contributing

We truly appreciate and welcome community involvement. Your contributions, feedback, and suggestions play a crucial role in improving the project for everyone. If you're interested in contributing or have ideas for enhancements, please feel free to open an issue or submit a pull request on our GitHub repository. Every contribution, no matter how big or small, is highly valued and greatly appreciated!

(🔼 Back to top)

## 🌠 Star Evolution

Explore the star history of this project and see how it has evolved over time:




Star History Chart

Your support is greatly appreciated. We're grateful for every star! Your backing fuels our passion. ✨

(🔼 Back to top)

## 📚 License

This project is licensed under the GNU Affero General Public License, Version 3.0. For more details, please refer to the LICENSE file in the repository: [Read the license on GitHub](https://github.com/franckferman/Monty-Hall-Problem-Simulator/blob/stable/LICENSE)

(🔼 Back to top)

## 📞 Contact

[![ProtonMail][protonmail-shield]](mailto:[email protected])
[![LinkedIn][linkedin-shield]](https://www.linkedin.com/in/franckferman)
[![Twitter][twitter-shield]](https://www.twitter.com/franckferman)

(🔼 Back to top)

[contributors-shield]: https://img.shields.io/github/contributors/franckferman/Monty-Hall-Problem-Simulator.svg?style=for-the-badge
[contributors-url]: https://github.com/franckferman/Monty-Hall-Problem-Simulator/graphs/contributors
[forks-shield]: https://img.shields.io/github/forks/franckferman/Monty-Hall-Problem-Simulator.svg?style=for-the-badge
[forks-url]: https://github.com/franckferman/Monty-Hall-Problem-Simulator/network/members
[stars-shield]: https://img.shields.io/github/stars/franckferman/Monty-Hall-Problem-Simulator.svg?style=for-the-badge
[stars-url]: https://github.com/franckferman/Monty-Hall-Problem-Simulator/stargazers
[license-shield]: https://img.shields.io/github/license/franckferman/Monty-Hall-Problem-Simulator.svg?style=for-the-badge
[license-url]: https://github.com/franckferman/Monty-Hall-Problem-Simulator/blob/stable/LICENSE
[protonmail-shield]: https://img.shields.io/badge/ProtonMail-8B89CC?style=for-the-badge&logo=protonmail&logoColor=blueviolet
[linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=for-the-badge&logo=linkedin&colorB=blue
[twitter-shield]: https://img.shields.io/badge/-Twitter-black.svg?style=for-the-badge&logo=twitter&colorB=blue