R/no_play.R

Defines functions no_play

no_play <- function(board, i, j, nrow, ncol) {
  attr(board, "lock") || !on_board(i, j, nrow, ncol)
}

Try the minesweeper package in your browser

Any scripts or data that you put into this service are public.

minesweeper documentation built on April 3, 2025, 9:29 p.m.