Miney game
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 graybcol
: Color of bad cellsspace
: Space between cellspbombs
: Proportion of cells with bombsHeavily 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)
Useful links