/monty-hall-rs

Example of the Monty Hall problem in Rust

Primary LanguageRustMIT LicenseMIT

monty-hall-rs

Rust

Example of the monty hall problem demonstrating what happens when each of the following strategies is used:

  • swap (change to a different door)
  • stay (keep current door)

Running the Demonstration

The application uses a CLI when running with the following arguments:

  • number of doors
  • strategy
  • number of times the game should be played