play_game: Monty Hall game play function.

Description Usage Arguments Details Value Examples

View source: R/monty-hall-problem.R

Description

'play_game()' compiles all of the functions to complete an entire game of Monty Hall.

Usage

1

Arguments

This

function does not have any parameters.

Details

This function provides the steps for game play of the Monty Hall game.

Value

This function returns the results of a game play: 'WIN' or 'LOSE'.

Examples

1

castower/montyhall documentation built on March 1, 2020, 12:16 a.m.