Description Usage Arguments Details Value Examples
open_goat_door()
HOST OPENS GOAT DOOR.
1 | open_goat_door(game, a.pick)
|
if |
arguments are used by the function. |
The host will always open a door with a goat behind it, but it can’t be a door the contestant has already selected. So it must be a door that is not a car and not a current contestant selection. Note that if the contestant selects the car on the first guess the host can open either door, but if the contestant selects a goat the host only has one option.
The function returns the opened door.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.