Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lamdav/montyhallsim
A Monty Hall Problem Simulator
https://github.com/lamdav/montyhallsim
monty-hall-simulator
Last synced: about 2 months ago
JSON representation
A Monty Hall Problem Simulator
- Host: GitHub
- URL: https://github.com/lamdav/montyhallsim
- Owner: lamdav
- Created: 2015-05-16T05:51:37.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-05-20T04:09:30.000Z (over 9 years ago)
- Last Synced: 2024-04-12T16:09:43.370Z (9 months ago)
- Topics: monty-hall-simulator
- Language: Java
- Size: 141 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MontyHallSim
A Monty Hall Problem Simulator# Description:
This is a simple Monty Hall Simulator. The program will simulate the Monty Hall Problem given 3 possible options. The program can be used manually or automated. The program is intended to be used via the command line. Probability of success if switching should converge to ~0.67 (2/3).# How to use:
Download the repository and create a runnable jar file. Navigate to the created jar file location via command line. Execute the following command:
```
$ java -jar .jar -a
```Note: -a is a optional argument. Without it, the program will allow for manual inputs. If used, a limiter is required; otherwise, it will default to manual input request.