determine_winner: Determine Winner

Description Usage Arguments Details Value Examples

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

Description

Once the contestant sticks with their final choice the computer will expose which door has the car behind it and if the contestant is a winner or loser.

Usage

1
determine_winner(final.pick, game)

Arguments

None

Details

The final step of the game.

Value

This is the final step to find out if the contestant is a winner.

Examples

1

voznyuky/montyhall documentation built on Dec. 23, 2021, 4:11 p.m.