def reveal_mono.go

minebender-game@1.0.0.0 · proof_laws.bend:391

import minebender-game@1.0.0.0/proof_laws.bend as ProofLaws
import Base
import minebender-game@1.0.0.0/types.bend as T
import minebender-game@1.0.0.0/board.bend as B
import minebender-game@1.0.0.0/game.bend as G

391def reveal_mono.go(+g: G.Game, +p: T.Pos, +q: T.Pos, s: {B.at(Bool, False{}, shown_of(g), q) == True{} : Bool}, +f: Bool) ->
392  {B.at(Bool, False{}, shown_of(G.reveal.go(f, g, p)), q) == True{} : Bool}:
393  match f:
394    case True{}:
395      s
396    case False{}:
397      open_mono(g, p, q, s)

Uses (7)

Used by (1)