Description Usage Arguments Note Examples
View source: R/dummyFunctions.R
This function will transfer the player to another room if she answers a question correctly.
1 | openDoor(n)
|
n |
Door number, as it appears next to the door description, when the
player enters the room, or with the |
You may ask to openDoor
, see the question, then decide you wish
to do something else, e.g. open a different door or taking an object.
1 | openDoor(1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.