Miney: Miney game

View source: R/miney.r

MineyR Documentation

Miney game

Description

Minesweeper game

Usage

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)

shipunov documentation built on Feb. 16, 2023, 9:05 p.m.

Related to Miney in shipunov...