Miney | R Documentation |
Minesweeper game
Miney(n, ucol="#b8ff73", gcol="#f0f0f0", bcol="red", space=0.05, pbombs=0.15)
n |
Size of the field to play, i.e. n=9 (default) is 9 x 9 field. |
ucol |
Color of unknown cells, default is "law green" |
gcol |
Color of good cells, default is gray |
bcol |
Color of bad cells |
space |
Space between cells |
pbombs |
Proportion of cells with bombs |
Heavily modified from 'Miney::miney()' of Roland Rau. See also the fun::mine_sweeper() function.
Alexey Shipunov
## Not run: ## interactive command: Miney(3) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.