MontyHallStats/README.md

501 B

Monty Hall Stats

Calculate the stats of the Monty Hall problem.

Config

Parameters to change

in the main function there is 2 variables that can be changed to change the outcome of the game

switchDoor and gamesToPlay

Change switchDoor to false, if you don't want to switch doors and change gamesToPlay to if you want to play it a diffrent amount of games each time.

Running

To run the program you need to have go installed, and you can simply run go run . in the project directory.