Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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.