Miney function

Miney game

Miney game

Minesweeper game

Miney(n, ucol="#b8ff73", gcol="#f0f0f0", bcol="red", space=0.05, pbombs=0.15)

Arguments

  • 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

Details

Heavily modified from 'Miney::miney()' of Roland Rau. See also the fun::mine_sweeper() function.

Author(s)

Alexey Shipunov

Examples

## Not run: ## interactive command: Miney(3) ## End(Not run)
  • Maintainer: ORPHANED
  • License: GPL (>= 2)
  • Last published: 2023-02-05

Useful links