Description Usage Arguments Details Author(s) Examples
View source: R/closeYourWindow.R
Use R to play the Close Your Window game (currently only for Windows system).
1 2 3 |
width |
number of grids in horizontal axis. |
height |
number of grids in vertical axis. |
steps |
number of "seed" grids to initialize the puzzle. In general, the larger |
cheat |
logical. If |
col.closed |
color of closed window. |
col.open |
color of open window. |
col.frame |
color of window frame. |
seed |
seed for random number generator. |
... |
other arguments passed to |
In default, the white grids in the graphics stand for the windows that are open, and black ones for the closed. When you click on a window, this window as well as the four ones next to it will change its status. Your mission is to close all the windows.
Yixuan Qiu
1 2 3 4 | ## Not run:
closeYourWindow(width=5, height=5, steps=3)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.