def unrevealed
import minebender-game@1.0.0.0/game.bend as Gameimport Base
import minebender-game@1.0.0.0/types.bend as T
import minebender-game@1.0.0.0/board.bend as B
29# p is a cell of the board that is not revealed yet.
30def unrevealed(+w: Nat, +h: Nat, shown: T.Grid(Bool), +p: T.Pos) -> Bool:
31 B.on_board(w, h, p) && Bool.not(B.at(Bool, False{}, shown, p))