create_game: Creates vector of user inputs

Description Usage Arguments Details Value Examples

View source: R/Monty Hall Script.R

Description

This function creates a character vector of length three that consists of two goats and one car. The goats and car are randomly assembled to create unique combimations.

Usage

1

Arguments

...

This function does not take any arguments

Details

This function is the basis of game and is referenced many times throughout the game.

Value

This function returns a character vector, a.game.

Examples

1

dlyork/montyhall documentation built on Jan. 31, 2021, 7:22 p.m.